All the dead were within the same classroom he locked himself into and was there for 40 minutes.
I’m glad the off-duty guy did what he did – he wasn’t his duty to ask all the staff for a key to the room that he couldn’t get in – but he did. And once he unlocked the door, he could kill the guy and stop him from leaving the room so that was good.