This tutorial will show you how to change how long to show notifications above the taskbar corner until dismissed for your account in Windows 11.
Notifications are alerts from apps, system, and other senders.
Windows 11 shows notification banners on the lock screen and at the lower-right corner of the screen above the taskbar on the main display.
A notification banner will stay open for only 5 seconds by default until automatically dismissed to the Notification Center.
Reference:
https://support.microsoft.com/en-us/windows/make-windows-easier-to-hear-9c18cfdc-63be-2d47-0f4f-5b00facfd2e1
Option One: Change How Long Notifications Stay Open in Settings
Option Two: Change How Long Notifications Stay Open in Control Panel
Option...