lock-pattern library in place