The school went into lockdown and parents gathered at the gates as they waited for news about their children.