I have turned off the option «Get notifications from apps and other senders»:
How to turn off all notification sounds in Windows 10?