I agree with those who said it depends on the context, and they might be interchangeable, depending on what you have in mind.If me and my sweetheart are about to leave, I might ask "Did you lock the door?" or "Have you locked the door?", but if we were already on the road I...