Texting in class - no matter how obnoxious the teen - is not a police matter. It’s a school discipline matter. I hope we can agree on that. Therefore, calling the security officer was a mistake. That mistake was compounded by the officer frankly acting like a police state toward a dissenter. (Made me think of images of Chile, for some reason.) The images are astounding.
Back when I worked in a certain school, such situations were very common - both the teenager’s behavior and texting. The policy was: first offense, the phone is removed, shut off, kept at the principal’s for the day until a parent comes to pick it up. Second offense, same thing but the phone is kept three days. This was a really big deal for the students. If the student protests, not only is the phone kept three days but the student is suspended from 1 day inhouse to three days written on the official record (in case for example, of insults and physical action.) Some teenagers are so attached to their phone that they growled and every year there were incidents of kids trying to assault the teacher (and stopping in time but…)
For disruptive students, the basic action was to “hold the handle” for 5, 10, or 15 mn. (They’re in the corridor but holding the door’s handle - this was because disruptive students, otherwise, ran to the stairs and spit on the steps and/or the ramp, kicked doors, wrote on the corridor’s walls…) If they refused to, a student delegate (elected at the beginning of the year) walked them to the principal’s office. If they refused to go with the student delegate, the student delegate went to the principal’s office alone and someone came to the classroom, but as far as I know it never happened because the immediate penalty was something like kicked out of school.
NEVER did anyone call the police.
I understand that having police at some schools is a necessity, but then they should be trained very rigorously so that they understand they’re NOT dealing with juvenile delinquents, they’re NOT dealing with adults, and any action should be taken to prevent the teen from harming self or others but never should they be harmed unless the officer is in clear, immediate danger (such as a firearm being drawn and pointed at someone with the intention of using it.)