Samsung Dex: S21Ultra keeps waking up when using external keyboard to type

this happens to me too using 2.4G keyboard. the current solution for me is to click on “use as touchpad” and dim the screen. But I am using a usb hub with usb c charger port. power is not a problem but I think the batterie could take dmg when screen is always on without needing.