More interesting is checkmate with two knights which is only possible if the other king makes a mistake. You cannot force it so if two good players end up in this situation, they mostly agree on a draw.
More interesting is that the position is actually winnable if the losing side has an extra piece (a pawn that isn't too advanced up to board).
The general trick is to block the pawn with one knight, force the king into a corner with king and other knight, and then bring in the second knight for the checkmate so fast that the pawn cannot promote to a queen and then make another move (promotion to a queen is OK if the checkmate immediately follows)