Does deliberately knocking the king over end the game? When I play with my friend, he will often knock his own king over when he is going to lose.

He ends the game and says, "I lose".

Is this permissible?
Yes, players often tip their king over to indicate that they are resigning.