Switching from macOS to Linux/System Preferences
Energy Saver
editSleep display
edit"System Settings", "Brightness & Lock" to set the lock time.
Sleep computer
edit"System Settings", "Power" allows you to suspend the computer, but I'm not sure what that means.
Sleep hard drives
editI don't see settings for this.