Authoritarian prison? Calm down. All place have rules, schools are to learn, not to be on your phone all the time. We were without mobile phones for Millenia and now that they're here you're acting as if you can't live without one.
Yes, you can live without your mobile phone and if you think you can't then this new law is exactly for you