You make a run for it!
You make it out of the room safely and quickly lock the door behind you.
You look around. You’re in the Hallway. It is dimly lit so you cant see much. You don’t know where to go, as far as you can tell you can either go left, or right. You better make up your mind quickly though, the thing you locked in your room is starting to bang against the door.