When I used to volunteer with friends of the national zoo, they taught us that lions typically attack prey that is looking away, distracted, or running. So holding eye contact shows the lion it has no element of surprise
Steady, calm eye contact with a confident posture discourages testing behavior