For most schools, the past two years have brought a complicated weighing of the risks of being in a classroom: in-person versus virtual learning, masks, class sizes, ventilation. But a growing number of schools around the world have sidestepped many of those concerns by leaving the classroom behind.