The first thing I would suggest is to update the video drivers and the BIOS to the latest form the manufacturer’s website.
If that does not help then try the work arounds and see if it works as expected.
Go to Power Settings, then click on Change Plan Settings, then click on
Change Advanced Power Settings, Scroll down to Processor Power Management, and set
Minimum Processor State to 100 percent for both plugged in and battery. You won't freeze again when you go to the screen-saver, or at some point overnight when a virus scan/spyware scan makes the CPU try to work hard.
Workaround 2 :
Skip screensaver entirely, and rely on "turn off monitor" power setting INSTEAD of screen saver, which basically accomplishes the same thing as a screen-saver. The freeze/wake up problem is actually related to the screen saver running along with a high-intensity
task, while the CPU has gone into low power mode.
If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.