Change screen blank behavior after lock

Ubuntu Version:
25.10

Desktop Environment (if applicable):
GNOME

Problem Description:
After locking the computer with lock button on Settings menu or with keyboard shortcut Super+L, as show below on Screenshots, the screen goes black, blank

I wish to change this behavior to keep screen on after locking the computer

Relevant System Information:


Screenshots:


What I’ve Tried:
Setting Screen Lock and Power configuration as show above on Relevant System Information

Hello!

Can you provide some hardware information, in particular the OEM and model of the GPU. Can you also provide the version of the driver?

Hello, it is a GV-R76GAMING OC-8GD Radeon™ RX 7600 GAMING OC 8G (rev. 1.0 / 1.1)

amdgpu 6.17.0-7-generic
Mesa 25.2.3-1ubuntu1

Would you please try a longer hold on Super + L?

A longer hold on the shortcut starts typing repeating l (lowercase L) on the login password field but the screen stays on, as when I press a key after it blanks in a short hold

Sorry for the delay. Farm life is what it is.

I’ll try to get to spinning up a vanilla Ubuntu in a VM this evening to explore this a bit. Kubuntu works fine setting the monitors to stay on.

Thank you for your time!

Would you please go to the upper right of the screen, select the power button, then select the lock (padlock) button? Assuming you have the lock screen settings right, that appears to work as expected.

I can’t get it to work properly with either of the lock screen shortcuts either.

I am not 100% certain but I think the settings can be changed/adjusted using gsettings

Perhaps @ogra may have some ideas about how to do this.

The button behaves the same as mentioned above

OK. This comes with the caveat that for me it resulted in a login loop and I rebooted to get out of it.

Install physlock

sudo apt install physlock

Then run

physlock

If you end up not being able to log in, reboot and remove physlock. But let us know what happened. Sorry about trying so many things, but I’m trying to rule out some possibilities.