<human>: Can you condense the text into a few key points?

Today my school went into lock down for an hour meaning that students are stuck in the class they are in until further notice and must be extremely quiet. During this hour lock down the police came in with 4+ dogs to search for drugs. Now I was in my AP Comp Sci class which consists of 6 students. At about the halfway point of the sweep our classroom was opened and we were asked to leave. All 6 of us were lined up on the wall outside of the classroom and told to lean against the wall with our backs to it. They then went into the classroom moved our bags around in an order of 1 through 6 and brought in dogs to sniff all our belongings. They whispered about bags 1 and 5 being suspicious which we were confused about since everyone in our class doesn't do anything illegal of the sort. After 10 minutes of being treated as criminals we were allowed back into the classroom. I saw by the way they had arranged the bags that I was number 5. Now my bag was closed as I had left it but who's to say it wasn't investigated then closed again. Now I was very upset and still am. They had no right to search any of us. I am a teenager and just because I am a teenager and some teenagers do drugs does not give credence for them to treat us all as criminals. What I found even more horrifying were the sheer number of students, almost all, who were completely okay with it. They said who cares we have nothing to hide. They are not upset that the very act of the accusation is alarming. I come to ask you guys what I can do if this situation arises again? What are my rights? All my friends and staff say we have none for being on school ground. I don't disagree with them but does that give the police the right to treat us as criminals? When you start treating students like criminals how do you expect them to act? Reddit am I crazy for being upset?
<bot>: My classroom was subjected to a sweep for no reason. I was treated like a criminal. Why is that okay? Why aren't students angry?