Shooter incident at elementary school in Uvalde, Texas - 19 children and 2 adults dead

I know this won't help the root cause but, what if all staff were required to wear "panic buttons" around their necks that when activated lets everyone know to get in your rooms and lock the doors? I think that would work better than having an officer in the building and maybe save lives.