If they are locked up and the key thrown away then it doesn't matter how violent or psychopathic they become. As long as there's somewhere in their cell to urinate and defecate, and there's a small slot in the wall to pass them bread and water, they won't affect anyone else.