When you checkmate an opponent, you win the game without further moves. The only way to prevent this is to resign (give up) the game.