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