Australia completed a 3–0 clean sweep of the Twenty20 series, winning the first two matches of the five-match series.
The tourists were on their way to another win when Warner and Head put on 79 runs for the first wicket off just 48 balls.
At the end of the 10-over power play, Australia were 104 for one, the second consecutive time they reached three figures while fielding restrictions were in place.
But left-arm spinners Tabraiz Shamsi (2 for 29) and Keshav Maharaj (2 for 37) sealed the match on a spin-friendly pitch before fast bowler Gerald Coetzee (4 for 50) finished the Australian innings. Changed stance.
Maharaj also made a crucial intervention in the field by directly-hitting run-out to Warner, who made 78 off 56 balls and lost his shoe before slipping to take a run.