I have this problem where my CPU is overheating when I am playing certain games and sometimes the computer just goes off when the tepmeratures go too high. My CPU is I7 7700K and I am using a stock intel cooler.
Yes I have set it to around 90 in the bios just in case.The cpu should shut down the PC if it sits at 99.5C for an extended period of time.
Or did you set a custom thermal throttle limit of 90C in bios?