Clone the project and open using android studio and run
N/A
This application sample is contains android studio java project to turn off screen programmatically