Classic bleeding-heart prog backwards thinking.
The students are treated like prisoners because they were ALREADY acting that way.
Use your brain. Schools install metal detectors and hire guards because the kids were getting into fights and bringing guns/knives to school. Acting like adding a metal detector is what causes kids to bring guns to school is insanity.