Chosen Solution
So about a couple of weeks ago I wanted to format my laptop because it was slow and it was due time after maybe 2 years. I realised though that I hadn’t created a restore point so I had to install windows from scratch. I did that and installed all lenovo drivers using lenovo vantage. Fast forward a week or so, my laptop whenever I open any game whether it’s graphics intensive or not, freezes randomly and a lot to the point that playing is somewhat impossible. I tried looking at the processes tab in the task manager when it freezes and noticed that when it freezes my intel graphics card and drivers spike in usage. I then made sure that all my games were using the NVidia 1050 as the main card and they were but the issue still persisted, soo I come here asking for help.
O- ALI sounds like a memory issue. You have checked to make sure that your memory usage it optimized for the gaming as well as updating your BIOS as well as the driver for the NVidia card.