Schools cannot shut their gates and leave the outside world on the doorstep.