It might just be that the teacher propped the door open to get a cross breeze through her classroom. Was she in 111 or 112?
Some emergency doors are set to alarm if someone opens them.