how did the murderer get in?
how did the police get in?
The door didn’t lock, and he walked in. The teacher only thought the door would lock. If the door has some sort of locking device on it, then she should’ve double-checked, but she may not have had time. Someone propped open the door with a rock, though.
A janitors master key.