Lenovo P16s heat problem

I’m the proud owner of a Lenovo Thinkpad P16s. After running the laptop for a while I found out that it got very hot at the top between the keyboard and the display. In the middle it got to hot to touch. I did run Psensor in Debian 12 Linux and it showed about 85 degree C at CPU idle. I did a restart and checked the BIOS settings. After testing the power settings I found out how to fix this:

Turn the “CPU speed step” to off. And switch the “cool and quiet on lap” to “on”. This should give you about 35 degree C in the CPU idle and fix the over heating problem!