Selective Flattening
If you want to flatten some of the layers in a document, click the eye icons to hide the layers you don’t want to flatten, and then choose Merge Visible from the Layers menu.
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!