Lock Screen 22.04

How do I set the lock screen while on AC? Works fine on battery.

in displays - the “automatic screen lock delay” is just a time based lock which applies to both AC and battery.

Yes that did it, thanks. One small suggestion, add some help text below the option to indicate this.