This question already has an answer here:
I played with my friend yesterday, and we reached a point when I cornered him from everywhere. I had a queen and a king, and he had only his king left, but he could not do any move because any move would be considered checkmate. So he told me it's a draw because it's a stalling position. Is that true?