Really, we should be asked if we want notifications in the first place. I find chat apps like Teams, Discord, alert
way too much. The signal to noise is tiny. Maybe this is my fault (I never really "got" Discord, Slack, Teams etc. like I got email, IM, SharePoint and phone calls), but I get added to group chats/Teams without me knowing and just start getting visual, audio and haptic (on my phone) alerts with very little context. It's a bad UX. At least my phone makes it relatively easy to mute things, or everything.
I wish there was a mute all notifications button on my keyboard like I have a mute mic and mute audio button. Aside from letting me focus, it would be really useful when presenting. Going through a few clicks through the notification center in Windows is a start, but it is too hidden to be obvious to anyone not specifically looking for it and is a bit cumbersome if you flip things on and off frequently.