Try running ThrottleStop 9.7.2
https://www.techpowerup.com/download/techpowerup-throttlestop/
Press the Limits button and watch the Limit Reasons data.
A CPU getting stuck at 0.4 GHz sounds more like a BD PROCHOT throttling problem. This is not the same as a thermal throttling problem. Intel CPUs do not thermal throttle at only 70°C to 80°C and they do not get stuck at 0.4 GHz when thermal throttling unless the heatsink has fallen off.
What box is lighting up red under the CORE column of Limit Reasons? You have to know what the problem is before you can solve it.
The sad news is that most 12th Gen and newer laptops have decided to lock out BD PROCHOT adjustment. If this is the problem, it will be next to impossible to fix this.