First of all, update your drivers and enter Safe mode and remove the drivers that you have recently installed. Now perform an SFC scan and change your Power settings and change the power plan settings. After this disable the antivirus software and revert your graphics card driver to the older version. In the end, change the power settings in the Nvidia control panel and change power options.
Read More - How fix driver state power failure Windows 10?