This really seems bad.

The headline on the linked story is wrong. The closet was not "locked."

I also am curious why the story never really says that he wasn't offered the opportunity to leave and come back but he chose to take this option.

If it's as it appears it is wrong, wrong wrong but it doesn't sound like any of the "principles" concerned had any idea this even took place - let alone condoned it.