Students are not free to leave and will literally be thrown in a cage for truancy if they do. They don't choose the curriculum, don't get to choose who they work with, and are frequently submitted to dehumanizing treatment like having to ask permission to use the restroom.
What more could you ask for in a prison?