To add to this comment which is unfairly downvoted, some example of laws in Europe that I collected over the years:

France's "hate speech" laws, which prohibit speech that is deemed to be insulting, threatening, or discriminatory on the basis of race, religion, ethnicity, nationality, or sexual orientation. (source: https://en.wikipedia.org/wiki/Hate_speech_laws_in_France)

Germany's NetzDG law, which requires social media platforms to remove content that is deemed to be hate speech or fake news within 24 hours of being notified. (source: https://en.wikipedia.org/wiki/Network_Enforcement_Act)

The United Kingdom's Official Secrets Act, which makes it a criminal offense to disclose certain types of information deemed to be sensitive to national security. (source: https://en.wikipedia.org/wiki/Official_Secrets_Act)

Spain's "gag law," which restricts protests and demonstrations, and imposes fines for offenses such as insulting police officers. (source: https://www.aljazeera.com/opinions/2021/3/1/spanish-gag-law-...)

Hungary's law against promoting migration, which criminalizes the publication or broadcast of materials that are deemed to promote illegal migration. (source: https://www.theguardian.com/world/2018/jun/20/hungary-passes...)

Belgium's Holocaust denial law, which makes it a criminal offense to publicly deny, minimize, or justify the Holocaust. (source: https://en.wikipedia.org/wiki/Belgian_Holocaust_denial_law)

Sweden's "hets mot folkgrupp" law, which prohibits speech that is deemed to be hate speech or incitement to violence against certain groups of people, such as ethnic minorities or LGBT individuals. (source: https://en.wikipedia.org/wiki/Anti-Jewish_Action_League_of_S...)

Italy's "Lodo Alfano" law, which made it a criminal offense to publish transcripts of intercepted conversations, even if they exposed wrongdoing by public officials. (repealed)

Greece's "insulting the state" law, which makes it a criminal offense to insult the Greek flag, national anthem, or state symbols.

Austria's law against defamation of religions, which makes it a criminal offense to insult or denigrate the religious beliefs of others. (source: https://www.jstor.org/stable/24739183)

Finland's law against ethnic agitation, which prohibits speech that is deemed to incite hatred or discrimination on the basis of ethnicity or national origin.(source: https://poliisi.fi/en/hate-crimes)

Poland's "Holocaust law," which criminalizes the attribution of Nazi crimes to the Polish state or people. (source: https://en.wikipedia.org/wiki/Amendment_to_the_Act_on_the_In...)

Portugal's "apology for terrorism" law, which makes it a criminal offense to justify, glorify, or condone terrorism.

Romania's law against insult and defamation, which imposes fines or imprisonment for speech that is deemed to insult, defame, or threaten individuals or groups.

Slovakia's law against extremism, which prohibits the distribution of materials that promote extremist ideologies or activities.

Switzerland's anti-racism law, which makes it a criminal offense to publicly incite hatred or discrimination on the basis of race, ethnicity, or religion.

The Netherlands' law against discrimination, which prohibits speech or acts that are deemed to discriminate against individuals or groups on the basis of race, religion, gender, sexual orientation, or other characteristics.

Norway's law against hate speech, which prohibits speech that is deemed to incite hatred or discrimination on the basis of race, ethnicity, religion, or sexual orientation. (source: https://www.regjeringen.no/en/topics/equality-and-diversity/...)

In Poland you cannot insult the president: https://www.politico.eu/article/poles-legal-jeopardy-insulti....
You can also go in jail for "insult to religious feelings". (source: https://en.wikipedia.org/wiki/Offending_religious_feelings_(...)