Angola goalkeeper Lama denied South Africa an injury-time winner when he parried a shot from outside the area.