It's a familiar sight - young people glued to their phones. But in more and more UK schools, smartphones are being switched off and locked away.