Really? I've done a dozen and in every single one, you could simply exit back from the door you entered from. The rooms were never truly about "escaping", at least past the lore and story. They are about searching for clues and solving puzzles. I've never been in one where we were explicitly locked inside. Generally you just make your way through and exit out a different door at the end.