Switching from macOS to Linux/System Preferences
Energy Saver edit
Sleep 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 edit
I don't see settings for this.