Change logic of passLock