Lolli's Mate

The pattern on the right is a very simple mate, but black can often play his king directly into the corner and stop this mate with a rook.

It is white to move in the following position. Can you find the mate in three moves? Click here to see the solution.