when she leaves the room, she will lock the room
sometimes she can enter the room stay for a while then leave
Instead maybe have it were she has to pick the lock, which would buy you time to hide or plan your escape from the room
good idea