Pretty much. USSR, Maoist China, Castro's Cuba, Putin's Russia, Nazi Germany, Starter's Britain. Everywhere you can find socialism, you find that opposing views is the first thing socialists suppress.
[1] https://fee.org/articles/were-the-nazis-really-socialists-it...
Socialism is ecinomic system where state ("workers") control the means of production. Nazi Germany fully controlled all production in Germany, in full accordance with this definition.