The Kangaroos will face England in the final on Saturday night.
Brett Morris added his pair of tries to the total, Lockyer setting up both efforts, the first with a long pass and the second with a well-placed kick.
Gidley improved Morris’ second before Thurston added his first goal by converting Jennings’ hat-trick score.
France – 4
T: Elima (61)
Australia – 42
T: Jennings (22, 27, 56); Lewis (41); B. Morris (45, 50); J. Morris (67, 72)
G: Gidley (41, 50); Thurston (56, 67, 72)
Ref: Leon Williamson
The best rugby league rumour column in the Old Dart.
Huddersfield assistant coach Kieron Purtill will join Leigh's coaching staff at the end of the current season on a two-year contract.
Salford's appeal against its six-point deduction for salary cap infringements will be heard by independent body Sport Resolutions.