The lockers are generally stored in the school police departments, and students who want to go on shooting rampages hunting need to check out the weapons with a claim check. Presumably police will ask some questions if the student's face is smeared in his own blood and he's muttering about "that bitch in my econ class."