The House of Lords is soon due to debate whether to introduce a legal ban on smartphones in schools.