Why? She wasnt raped. She was groped by a teenage boy. If the door was locked how did she get out?
Typically you lock from the inside off the room. Likely she could turn the door handle and open the door. She might have had to turn the lock mechanism.