I'm fairly cognizant of current active shooter response doctrines ;) , and you are right, Allan.
The problem is one of pro-active response versus reactive. When seconds count, the police are minutes away. Having them on-site does save some time.
Teachers having the ability and training to response helps even more.