The outdated version of Bios and the graphics driver could be the cause of the problem.
Step 1: Download and install the latest version of Bios (L1.93) from the Asrock website at this link.
https://www.asrock.com/mb/Intel/B560M-C/index.u...
Step 2: Install the latest version of the Chipset driver. You can use the Intel Driver & Support Assistant from this link to install the latest version of the Chipset driver.
https://www.asrock.com/mb/Intel/B560M-C/index.u...
Step 3: There is a new version of the graphics driver on the Nvidia website released on 2024.7.16. You can download the latest version of the graphics driver at this link.
https://www.nvidia.com/download/driverResults.a...
Updating these drivers should fix the problem.
Note: These links are non-Microsoft websites. 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.
I hope this information helps. If you have any questions or the problem persists, please let me know and I'll be glad to assist you further.