Schoolgirl locked men in classroom