Each and every one of these games have undo. That's critical for this type of game. Forcing the player to restart because of a single mistake is about the least interesting way to make a puzzle game more difficult.
1: https://sites.math.washington.edu/~ostroff/puzzles/Heroes_of...
2: https://sites.math.washington.edu/~ostroff/puzzles/Heroes_of...
3: https://sites.math.washington.edu/~ostroff/puzzles/Heroes_of...
5: https://www.stephenssausageroll.com