Focus stacking lets you expand depth of field by combining several photos – each one taken with a slightly altered focus point. Begin by selecting the set of focus-shifted photos in Lightroom and make any tonal edits you like to the set. Right- click and Edit in> Open as Layers in Photoshop. Once open, select all the layers and go to Edit>Auto Align then Edit>Auto- Blend.
Use Auto-Blend to focus stack images