I'd have done the same, just stayed put. It wasn't stalking the man, the lion was clearly on one of its usual routes but puzzled by the mountain bike and too nervous to continue past something unknown, so it backed off. They really don't like human contact, bred into them over countless years...