Schools cope with lockdown in a complex operation