When the Third Reich took power in Nazi Germany, they changed the criminal code and began to criminalize “deviant” behavior, broadly defined to include dissent. They even created a so-called “People’s Court” that would enforce the laws, often without due process & with the outcome certain.
Remember that when you see states start to criminalize constitutional behavior—like voting and seeking reproductive healthcare.