I want to hear the BIOS is current, set to the maker's recommendations and more about drivers after you installed Windows.
LoL is known to have a less demanding system on PCs so the usual is BIOS, drivers and some motherboards. I no longer accept boards with prior chipsets than the AMD 450. You shouldn't either.
I have recently built a new PC with Tomahawk max motherboard, AMD Ryzen
2600x, a Radeon 580 graphics card and a 550W power supply. I decided to try to play call of duty warzone on it and about 5 minutes in my audio cut out and my screen went black however the computer was still on. This problem has also happened when I attempted to play Rainbow Six Siege however I can play League of Legends without any problems. I have no idea what is causing this problem so I would appreciate any support if anyone has any kind of idea.
Thanks,
Luke

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic