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 M8s also automatically goes into Sleep mode when it’s left idle for a while. You can change the time before
HTC One M8s sleeps by setting the screen timeout. For details, see
Setting when to turn off the screen.