That line of questioning sounds suspiciously like how to stop school shooters...
Do you take away handguns, rifles, shotguns, or all guns?
Answer: Don't botch the law enforcement angle and actually lock them up for treatment when they begin posting threats on Facebook.