I'm able to get the double lock screen issue simply by forcing a lock using CTRL+ALT+L (and in my case it runs a script that does the following):
#!/bin/bash
sleep 0.5
xset dpms force off
gnome-screensaver-command -l
Then when I come back to the computer (potentially after the normal idle time, I'm not certain) and unlock with my password, the desktop appears and 5-10 seconds later, the computer locks again automatically. Simply, if the computer isn't idle, it shouldn't lock (and unlocking should be enough to make it no longer idle).
I'm able to get the double lock screen issue simply by forcing a lock using CTRL+ALT+L (and in my case it runs a script that does the following):
#!/bin/bash er-command -l
sleep 0.5
xset dpms force off
gnome-screensav
Then when I come back to the computer (potentially after the normal idle time, I'm not certain) and unlock with my password, the desktop appears and 5-10 seconds later, the computer locks again automatically. Simply, if the computer isn't idle, it shouldn't lock (and unlocking should be enough to make it no longer idle).