Hi,
Thank you for posting your query.
Kindly follow the steps provided below to resolve your issue.
Fix 1: Check your video cable and video ports
1) Turn off your computer. 2) Unplug the video cable that connects your monitor to your computer. 3) Check the port connectors on your computer and your monitor. (If any connector on your device is bent or damaged, you'll need to take the device to a repair shop.
Go to this link for your reference and other troubleshooting procedures https://www.drivereasy.com/knowledge/solved-monitor-randomly-goes-black-2019-tips/#:\x7e:text=Fix%201%3A%20Check%20your%20video%20cable%20and%20video%20ports&text=1)%20Turn%20off%20your%20computer,device%20to%20a%20repair%20shop.)
Note: This is a non-Micrososft website take precautions before downloading.
Do not hesitate to message us if you need further assistance.
If the answer is helpful kindly click "Accept as Answer" and up vote it.