I was lucky enough to have one of my NPCs not make it into the room when the door locked. There's a clue written on a note in that room outside - nuff said.