ModLockscreen: avoid errors if lockscreen method is customized