Without some kind of sensor to open the shutter at the right time, tough.
Some options I can think of
- shoot a HD video and extract a frame out of it
- shoot a burst and if you’re lucky you will get lightning in one of the pics
- set up a timelapse and hope one of the pics has the lightning
- long exposure
On to the next