Other things we could do: Remove all cameras from schools. Remove police from schools. Remove metal detectors from schools. Restore ability for students to leave campus during the schoolday. Stop persecuting the most vulnerable kids on the basis of nonsensical 'warnings signs' lists derived from no rational basis or evidence.
Restore as much autonomy to especially adolescent students as possible while still accomplishing education. Stop driving kids into a corner and making them feel so desperate and trapped that they're willing to throw their own life away just to do a little damage and escape.