If you connect or disconnect an external monitor in Fedora 36 Workstation, you might be switched to the login screen (gdm). This only seems to happen the first time you do this after a fresh system boot.
The same problem also affects virtual machines, when you resize their window (and you have automatic desktop resizing enabled). You’re also switched to the login screen.
After you update your system in your usual way (and possibly reboot), you should no longer be affected by this problem. If the problem persists, please start a new discussion topic and we’ll help figure out what’s still wrong.