A try from fly-half Jonathan Sexton - and another Leigh Halfpenny conversion - put the Lions clear again heading into the final quarter.
Sexton touched down after receiving the final pass from Halfpenny in a slick Lions move in the left corner.
Australia had closed the gap to just three points early in the second half through two Christian Leali'ifano penalties.
Halfpenny added another penalty of his own.
More top news
Becoming drier and brighter from the northwest during the day, but with the risk of scattered, locally heavy, showers developing later.
Warren Gatland says he 'feels massively' for the players who didn't make his final squad and said some decisions were 'the toss of a coin.'
Wales' final 31-man Rugby World Cup squad has been announced.