When you say, "I managed to finish my homework/ I managed to get the keys under the seat." It means, you got it done just in time/ you were able to get the keys, it implies that it was difficult to get the keys.
When you use achieve, it means you completed or finished something.
Ex: He achieved his dream in becoming a doctor.
I hope this helps.