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
Wales's vote to leave the European Union should not damage Cardiff's reputation as a 'inclusive' city, say council officials.
The two men who ran Wales Stronger in Europe have revealed where they think the campaign went wrong -and call for Jeremy Corbyn to resign.
After a dry start for many, rain will quickly spread across the country turning heavy in places, most likely in the north and west.