Jofra Archer dismissed Mitchell Starc for a well-made 54 and No. 11 Nathan Lyon to restrict Australia to 371 and complete a five-wicket haul to keep England in the Ashes contest.