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.
“Someone propped open the door with a rock, though.”
Bet is on the two guys out back. Probably janitors having a smoke or something.