I have been having this problem for a two days
"two days" might suggest....
A windows update which you may be able to uninstall (view update history)
OR
A driver update which you may be able to roll back (device manager)
You should probably investigate further to confirm that it's a screen issue rather than an overall power config setting.
Try setting the display to never turn off (settings -> Power & sleep -> Screen)
AND
Instead substitute a blank screen saver (settings -> Lock screen -> Screen saver settings)
It may turn out to be more of a power config setting relating to a Sleep and or Hibernation setting.
You may also want to experiment with a "High Performance" power plan
AND
Experiment with toggling the "Fast startup" option to Off.