Add lock pattern