Zorin 17 Automaticaly logout

Several users have reported this issue for Zorin OS 17: You are not alone in this.

Zorin OS 17 defaults to using the Wayland Protocol instead of Xorg (X11) standard display protocol.
Have you tried switching back to Xorg (Zorin desktop on X) from the Login screen > gear icon?