#6 Add lock pattern check