SUMMARY When you choose "Manually block" display sleeping and locking in the Power and Battery applet, it works as advertised on the tin until you let the display sleep with "xset dpms force off" from a terminal. After that screen locking is still blocked, but display sleep is no longer blocked. STEPS TO REPRODUCE 1. Configure the display to lock after a certain time 2. Choose "Manually block" in the Power and Battery applet 3. Let the display sleep with "xset dpms force off" from a terminal 4. Wake up the display 5. Wait until screen locking is supposed the happen OBSERVED RESULT The display sleeps, but the screen is not locked. EXPECTED RESULT No sleeping and locking SOFTWARE/OS VERSIONS Operating System: Fedora Linux 40 KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.7.2 Graphics Platform: X11 Graphics Processor: Mesa Intel® HD Graphics 620
Addition. The 'manual blocking' part isn't strictly necessary. The same behaviour can be observed when display sleeping is blocked by an application like gwenview or firefox.
Actually, strike this bug. The command I used from the terminal was an alias, which apart from the 'xset dpms force off' also contained the command 'xset s on' which of course on X11 reenables the blocked screensaver.