You can edit only one layer in Photoshop using a clipping mask. With an adjustment layer placed above another layer in the Layers Panel, right-click on the adjustment and press Create Clipping Mask to clip it to the underlying layer. Now this adjustment will only edit the one layer it's clipped to.