Lincoln City defender Joe Walsh put in a man-of-the-match performance in their 3-0 win away to Gillingham.