As I said in another comment if the parents are the ones to buy it then they can put heavy parental controls on the phones or tablets.
I use a work provided cellphone while I’m on my job site and they have that fucker so locked down I can’t even change the auto lock timing so I know you can lock tons of things with passwords on phones and tablets.
Idk anything about school laptops because I’m apparently old as fuck now and that wasn’t a thing when I was younger. But I would assume that they also use software to lock those down.
I for one welcome our new robot overlords and will turn on humanity in exchange for not having to work and being able to live a comfortable lifestyle.