You want to make sure that the card is perpendicular to the door.
How to get into a locked door from the outside.
Slide the long end of a credit card in between the door frame and the locking side of the door just above where the lock enters the frame.
If the locking mechanism is a latchbolt the kind of bolt that is spring loaded and has one angled edge and the angled edge is facing away from you you can hook it with a wire hanger.
If this doesn t work put a straightened out bobby pin into the lock.
Then turn the door knob and shake the pin which should cause the lock to open.
Put the credit card into the side of the door.
You re going to need a screwdriver with a skinny rod because the thicker rod won t be able to fit through the hole.
Angle the card downward and situate it behind the bolt of the lock.