In the Android settings, there is a setting that is configured by default that the display turn off by itself. In this manual, it is explained how to disable this setting
Instructions
Navigate to the system pad c:\Windows\System32\Sysprep and open the sysprep.exe file. Select the settings below and click “OK”.