Sorry, but I don’t buy this. Many, many years ago I had a loved one in one of these prison-like institutions - I fought hard to get her out of there and into a better place.
Miraculously, her (supposed) “violent tendencies” disappeared the moment we got her out of the prison-like place and into one where she wasn’t treated like a subhuman.