minor refactor - setting isLocked to YES only in prepareAsLockScreen