Apple Macbook Pro Retina display turns off automatically I have a Macbook Pro (Early 2015 model with Retina Display) with macOS Sierra.

For past 5-6 days its display turns off randomly while I am actively working on it. The touchpad keeps working and keyboard backlights remains on. If I restart it using power button on the keyboard then it works fine for a while (3-4 hours). What can I do to fix this? I have already tries SMC reset.
First thing is to try to work out what is causing the screen to power down. Does the console give up any messages when the display shuts off?

If there's nothing showing, try going into the System Preferences, to the Energy Saver settings and disable the sleep mode for both the display and the laptop. It will complain when you do this, and you WILL want to be mindful of it not going to low-energy use esp. when you're on battery power - and see if it stops the issue. (This was a recurrent issue when I updated my first macbook to Snow Leopard, so it can be a glitched software install)

If it does, then you know it is a sleep-related issue that may best be solved with a reinstall of the OS. If not, then your best bet is to find a Certified Apple Service center and have them put a diagnostic test to the hardware.

Good luck!