Backlight remains on after automatic screen blank

I am running Fedora 41 with Gnome 47 & Wayland on a Lenovo Yoga Slim 7 Pro laptop with Ryzen 5800H. When the screen blanks out due to inactivity, the screen and keyboard backlights turn off but then immediately the screen backlight turns back on again despite the screen being black. This is unaffected by having dimming due to inactivity on or off before it blanks.

However, if I manually lock the screen with Super+L or I suspend the laptop, then the screen backlight is off as it should be.

What could be going wrong? How to ensure the backlight remains off after an automatic screen blank?
Many thanks