Ok, I think I figured it out! This registry key did the trick:
https://www.elevenforum.com/t/enable-or-disable-show-notifications-in-settings-app-in-windows-11.25835/
Windows Registry Editor Version 5.00...
Hi guys,
Could you tell me please how to disable "Show me notifications in the settings app" option in Settings -> Privacy -> General tab via registry?