self-censorship
The act of censoring one's own expression, often to avoid offending others or to conform to social norms.
On social media, self-censorship tends to kick in to avoid backlash.
Even when freedom of expression is guaranteed, self-censorship does not disappear.