Adds PatternLock