The only thing is that many parts shipped in 2013 so this may be the old issue where the owner used it for years and there are simple (?) issues like dried, cracked heatsink compound, fans that have slowed, heatsinks and more caked in dust and such.
Tell me what you do to clean your PC and is it worth the usual "old PC" cleanup, fan check and new compounds?
So pretty much, the problem started with me trying to play a game, any game whether it was apex, BF4, Rocket league etc. As soon as I was about to enter a game/lobby it would freeze up and I would have to restart my computer. Then it started randomly happening right after windows 10 would love and I would get to my desktop.
This doesn't happen on every restart, but I also have been getting the windows 10 boot repair and none of those options have helped me out.
I have reset my computer, and reinstalled windows a couple of times now and the problem still persists.
Just in case it helps, here is an exact build of my computer: https://pcpartpicker.com/user/Josimc/saved/drmCmG
I am having a bad feeling something hardware related is going south but am not too sure.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic