So you can see on cobra91's moves that the white king moves up in front of the pawn. That is vital. A common mistake amongst beginners in such a position would be to move the pawn. If white starts by moving his pawn he misses the win.