Yes that is the general principle, Binnur.
Just as an experiment, try varying the layer blend mode and see the considerable alterations which can be made. Soft Light or Overlay increases saturation; multiply makes a very strong image; luminosity is handy because it just changes the brightness without altering the saturation which can be a problem with Curves.
I normally use Curves for this sort of thing because it can give you much finer adjustments.
So this is my quick edit.
When editing a mask I use a soft edged brush with an opacity around 20% and gradually repaint over the scene to slowly reveal (or hide) below the mask. And if you go wrong, you can simply change the 'brush colour' and do a little correction.
Sometimes it is best to use a Reveal All mask then hide what you don't want while on other occasions it is better to Hide All and then reveal what is wanted. This decision becomes easier with practice.
Once you become familiar with this practice you will find all sorts of unexpected uses!