A school which requires children to lock up their phones says the initiative has saved them from an “emergency situation”