Nobody gets locked up merely for having unconventional beliefs. You have to reach the point of insanity when you are a serious threat to yourself or others before they will do that. I have a brother who has been in and out of mental hospitals so I've seen what it takes. Believe me, there have been times when his thinking's been way off the deep end and they still weren't ready to take him in.
“This planet has - or rather had - a problem, which was this: most of the people living on it were unhappy for pretty much of the time. Many solutions were suggested for this problem, but most of these were largely concerned with the movement of small green pieces of paper, which was odd because on the whole it wasn't the small green pieces of paper that were unhappy.” ― Douglas Adams, The Hitchhiker's Guide to the Galaxy