Hey there, there are two types of restriction in Destiny 2, an actual ban is a full game permaban, which will give the user a 'not so fast' message on login. The second is a matchmaking restriction, it is not possible to enter certain activities, generally PvP, while this is in effect. This latter type lasts for two weeks in the first instance and two months after this.
If you've been banned or restricted, please use the appeal form.
https://help.bungie.net/hc/en-us/articles/360049024492-Contact-Form-Appeal-Ban-or-Restriction
There's also a third, which is a suspension for leaving too many pvp matches lasting 30-60 minutes 😉😘🍻
Edit - Looking at TC's topic history, I find their current topic questionable at best...