Hope you followed my procedure from my previous post to get a bsod (a blue screen). But in fact it is to have a bsod of the ethernet or wifi driver.
What you can do:
-Test youtube videos in safe mode with networkink. If it doesn't freeze then it's a software freeze.
-There is a bios for your motherboard as of 08/10/2020. If it hasn't already, update it with this msi procedure:
MSI(R) HOW-TO use M-FLASH for single BIOS - YouTube
-If you use the ethernet connection when you have freeze then unplug the cable from the computer and to test use only wifi. If you use wifi then test with ethernet (you can buy a long cable up to 100 meters).
If you can't choose wifi or ethernet, then go to the intel site for wifi, realtek for ethernet, and download the latest drivers for Intel® Dual Band Wireless-AC 3168 wifi, for ethernet Realtek 8111H Gigabit LAN Controller.
-Youtube or vlc videos should use graphics acceleration, so either graphics card or onboard graphics. If you use the graphics card when it freezes then test with onboard graphics, if you use onboard graphics then use the graphics card to test.
I have an intel gpu and an nvidia card with optimus technology, when the applications require a lot of graphics resources, the nvidia graphics card is used and when there are fewer resources, the intel gpu which is used. I can also in the nvidia panel choose which gpu to use. I don't know how it's going for you. If you don't have optimus, to test, connect the hdmi cable to either the onboard graphics or the graphics card. Open the task manager on the performance tab, there is, with their name, gpu 0 and gpu 1, see which gpu is used when you watch a youtube video.
-A clean boot:
Perform a Clean Boot in Windows 10 to Troubleshoot Software Conflicts
Come back to give news.