How do I use a command block to summon a lightning bolt
Solution 1:
According to DigMinecraft, it is very simple to summon a lightning bolt and is supported on all pocket editions version 0.16.0 or higher:
/summon lightning_bolt
If you want to know how to control the lightning bolt and its coordinates, visit this DigMinecraft page