The doors of the school were locked and parents told not to attempt to contact their children.