Adding it there as a punishment is the funniest fucking idea and I love it, but you can actually unlock it normally by scanning the classroom with X-Ray.
That's hilarious