I understand what you mean and I agree. I propose a variant of "close the schools" you advocate and that is to keep the outside doors to the building(s)locked and accessible only to those with properly coded key card..........
Stands to reason that if the perp can't get in (s)he won't have easy targets.