https://winaero.com/how-to-change-how-long-notifications-stay-in-windows-11/
How to Change How Long Notifications Stay Open in Windows 11