No. You don't get thrown into prison for being a threat. You get there for a specific action.
https://www.propublica.org/article/machine-bias-risk-assessm...
https://www.theguardian.com/technology/2017/apr/13/ai-progra...
What part of the law specifically rules released prisoners as not a threat?