@Shaughnessy119 System Preferences -> Security & Privacy -> Click "Advanced..." button in the bottom-right corner -> unlock pane using padlock icon in the bottom-left corner -> find "Log out after XX minutes of inactivity" ticked -> Untick