self-censorship - definition and synonyms

noun [uncountable] 

Your browser doesn’t support HTML5 audio

  1. a decision not to say or write something because it might cause problems or offend someone