Your Windows probably shuts down because of your temperatures.
As a Ryzen 5 3600 user, my temps at idle were about 50C, with the stock cooler, which is not really good. You appear to have an even worse situation.
As
@Dunlop0078 stated, your cooler may be incorrectly installed, and it is very dangerous to leave those temperatures for extended periods of time. Attempt to check/reinstall the cooler if you are able to do it by yourself.
If this continues to happen with a new thermal paste application and cooler installation, the issue could still be in your case/fans. I have a front mesh case with 3 intake and 3 exhaust fans.
Please note that if you do have proper ventilation in your case(even without a mesh front), try changing your cooler. After changing mine, temps went from 95C+(Using Prime95 stress test) to no more than 66C.
If you want to know, I am using an Arctic Freezer 34 eSports DUO.