People look at ugly schools, and they look like prisons, and the kids are captive in the ugly buildings, so it invites the prison metaphor. But makes no sense. Schools are a series of classrooms, prisons are a series of small cells. The designs would not be reusable at a fundamental level, or any practical level.
That said, I am still doubtful there are 1:1 copies of jails being used as schools, regardless of visible similarities. I don't see any of these supposed jail/high schools with secured rec yards for instance, which generally make up part of the structure of the facilities that look most like the examples given.
I think we pretty much universally agree that mandatory schooling is preferable to the alternative, do you really think an illiterate populous is preferable? So yes actually that is freedom. Society guarantees that you will not be illiterate just because your parents were crack addicts, I think that's a good thing.
You are missing the point, "most" is not all, I don't think most people/families are like this at all, we don't do this for most people. I think you would be surprised about the number of low-income children in the US who will never see a classroom if we abandoned compulsory education. It is also an effective measure to increase equality and class mobility.
14 million children in the US are food insecure. 43 million people live in poverty, 12.9% [1]
You know how many people in the US are illiterate? 21% [2]
Do you think that number will increase or decrease if we got rid of compulsory education?
[1] https://www.nokidhungry.org/who-we-are/hunger-facts [2] https://www.thenationalliteracyinstitute.com/post/literacy-s...
Just 20% in 1875[1], despite the primitive education system of the time. Is the answer no change, it being limited by the innate capabilities of the people, not limited by what they do?
[1] https://en.wikipedia.org/wiki/Literacy_in_the_United_States
If a teenager fails to show up for school, a police officer will eventually show up to arrest their parents and place the teenager in the custody of a "foster family." Now both parent and teenager are imprisoned. And we are told this is freedom.
To make matters much much worse, children in state custody with the foster system are routinely exposed to all kinds of abuse. Many foster families operate like a profitable business where costs are minimized and care is entirely absent.