Upon checking and analyzing the event logs, the sleeping of the PC is happening due to an error on the disk and drivers. Multiple NTFS errors occur on the PC, which means there is a disk issue, and ROOT\DISPLAY\0000, which is a display driver error. To sort out the issue, kindly follow the steps below:
Open Terminal (Admin) or Windows PowerShell(Admin) (Press Windows key + X then click Terminal(Admin))
Copy, paste, and enter the command below:
chkdsk c: /f
Follow the prompt and restart the PC if needed.
For the display issue, let us run a clean installation of the Nvidia driver. This is different from doing DDU or updating the driver, as this will remove all entries and replace them with compatible ones. Kindly follow the steps from the link below:
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Additional note: If the issue persists, I suggest contacting a local technician to physically check the device for any hardware-related issues.