Let's see what you would do if you locked in a room with only one door, and that door is locked tight, AND you don't have a key.
Since I always carry a few paperclips with me just in case, I would take a paper clip, unbend it, and pick the lock.
What would you do?