Put armed guards in every school. They need to know who is who as well and who does not belong.
Coupled with metal detectors, see 24. They are cheap now.