Laptop suspends although its connected to docking station

In the settings, I configured that the laptop should do nothing when it is connected to power supply and inactive. But it does go into suspend mode when it is connected to a docking station (thunderbolt). Is this intended behaviour? This looks like a bug to me. At least that’s not what I want. :slightly_smiling_face:
Can anyone confirm the problem or give me a hint as to what I might be doing wrong?

Thanks a lot
Martin

(Arch Linux with KDE Plasma 6.2.2)