The most common form of chess puzzle is white/black to win in X.
I'm curious whether a form of "white to lose in X" exists. For instance, a position that seems winning for white, but if they play a particular move, there is now mate in X against them. The first move would be the worst possible, but every subsequent move would be expected to be the best possible move.
(Not to be confused with selfmate puzzles, in which the first player constantly makes a losing move.)
(Inspired by a game I just played in which my position was completely winning, except I think I played the one move that gave my opponent an unexpected mate in 3.)