Lichess is famous for shadowbanning users, but chess.com isn't to be trifled with as far as shadowbanning goes.
Generally speaking, if a topic isn't allowed, it will get locked and a note about why will be posted. Members that violate Community Policies will be warned first and may have content edited or removed in more extreme cases, followed by muting, and can eventually escalate to actual bans.
Lichess is famous for shadowbanning users, but chess.com isn't to be trifled with as far as shadowbanning goes.