British anti-Isil fighter Ryan Lock shot himself to avoid being taken hostage