As students return to the classroom, more schools are banning phones or otherwise restricting their use.