I guess it's safe to remove this assertion, as the wait above couldn't have completed if the lockscreen was still visible, but I wonder if this deserves further investigation. @AndreiH Did you open a bug about `window.wrappedJSObject.LockScreen.locked` returning `True` even when the screen is unlocked?