As a nation, we have been drifting away from a focus on what people do to one where the emphasis is on what they think.
A key part of this is that although you may behave within the required boundaries, if you think outside of those boundaries, then you have entered a danger zone.
If you want to see how this works out when taken to an extreme, note the difference between authoritarian dictatorships and their more extreme totalitarian relatives.
With the latter, it is not enough to obey. You must believe. Your thoughts are not your own.