If the backpack is in your locker then you are on their terms. If the backpack was in my possession and closed, I would be saying "Get a warrant, my parents on the phone, and while your at it your badge number." I doubt that would end well for the student, but seriously fuck them.