To turn off the display and switch to Sleep mode, briefly press the POWER button.
You can also double-tap the lock screen.
HTC One M9 also automatically goes into Sleep mode when it’s left idle for a while. You can change the time before
HTC One M9 sleeps by setting the screen timeout. For details, see
Setting when to turn off the screen.