# Locked candidates

- Difficulty: Hard
- On the web: https://blinku.app/learn/locked-candidates

When all of a digit's places in one region lie inside another region, the rest of that other region cannot hold it.

Look at a box where a digit can go only in cells of one row. The digit must then be in that box on that row, so remove it from the row's cells outside the box. The same holds with columns, and with a row whose places all lie in one box.

## This example, step by step

```text
  1 2 3   4 5 6   7 8 9
1 . 5 . | 9 3 7 | 6 4 .
2 7 4 3 | 1 . . | 8 5 9
3 6 9 . | . . . | . . 7
  ------+-------+------
4 . . . | . . 1 | . . 6
5 5 . . | . . 3 | . 1 .
6 1 . 9 | . 8 4 | 2 . .
  ------+-------+------
7 9 . . | . 1 . | . . .
8 4 2 7 | 3 . . | . . .
9 3 1 . | 2 . . | . . .
```

1. **Where to look**: A pointer first: look at row 2. Where can 2 still go?
2. **Locked candidates**: In row 2, 2 can only go in column 5 or column 6, and those two cells lie in the top box. So no other cell in the top box can be 2.

## In hints

The hint first gives a direction, a box or a row. Then blue ground marks the region, blue marks where the digit can still go, and orange strikes remove the candidates in the other region.
