If you are being logged out frequently when logged into webmail, your operating system time may not be updating properly.
This can be fixed in Windows 11 by syncing your system's internal time with Microsoft.
Step 1: Open the Settings menu by pressing Windows + i on your keyboard.
Step 2: In the Settings window, select Time & language from the left sidebar, then click on Date & time on the right.
Step 3: Scroll down to the Additional settings section and click on Sync now.
After clicking Sync now, you might see a checkmark indicating that the synchronization was successful, and the button may become grayed out.
If you are having trouble in settings, you can also manually sync time from the Control Panel, here's how:
Step 1: Click the Start button and type Control Panel in the search bar. Select it from the search results.
Step 2: In the Control Panel window, click on Clock and Region.
Step 3: Then, click on Date and Time
Step 4: In the Date and Time window, switch to the Internet Time tab
Step 5: Click on Change settings....
Step 6: In the Internet Time Settings dialog box, click on Update now to synchronize your clock
Once you see the message "The clock was successfully synchronized...", click OK to close the window.