Monterey keeps logging out when apps entering full screen mode.
It appears that similar issue appeared 5 years ago in Big Sur and now I have it on Monterey.
Apps that shown such behaviour: YouTube in Chrome and Safari, VLC, TV, Trello. So essentially issue happens on all apps from time to time.
Here is message from error window I see after I log back in:
Process: WindowServer [49959]
Path: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier: WindowServer
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 88
Date/Time: 2021-12-14 08:50:55.3151 +0100
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Bridge OS Version: 6.0 (19P548)
Anonymous UUID: 1FD18C3C-ADEC-8596-2945-48EE90C93728
Sleep/Wake UUID: 3C4DC2FA-F3F4-4A68-887C-B09DAB988945
Time Awake Since Boot: 620000 seconds
Time Since Wake: 4774 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
MacBook Pro with Touch Bar