i wonder if a teacher could put a jammer on their desk that knocks out the signal in their classroom only. You probably wouldn't need to knock out wifi (chromebooks need it), in my kid's school the wifi is locked down pretty tight. You'd just need to take out the cell connections somehow. I'm sure there's all kinds of reasons it wouldn't be allowed but it's an interesting thought.
I'm guessing that would be illegal, as jammers generally are, even if localized --maybe it depends on the jurisdiction, though. Faraday cages are fine. Putting phones in bag or box has been done a lot.
Would be in violation of 47 U.S.C. §§ 333, with pretty hefty fines and other penalties
https://www.govinfo.gov/content/pkg/USCODE-2011-title47/pdf/...