AdolphMarx's solution is quick and painless.
In case you want to win this by actually playing against the AI, as I did:
Play against the AI on the easiest difficulty.
The AI can capture your stones and the achievement will still trigger. Also, the AI can finish the game with "dead" stones in your territory. You just can't capture them during play.