I think I have a very simple solution to making schools safer from this kind of attack. Put an exit door in every classroom. It could be always locked and in case of emergency there would be 2 master switch's available. 1 in the princples office and another for the classroom teachers to open the doors. These kids were trapped with no way out.