I recently bought a KeyChron K3 mechanical keyboard.

Here are the sleep modes. Hold for 3 seconds.

# Disable sleep.
fn + S + O

# Enable sleep mode.
fn + S + 0

# Sleep for 30 mins. Hold for 3 seconds.
fn + S + L + Y

For a comprehensive list of key shortcuts, visit KeyChron’s site.