So you have a layer with effects (layer styles) and you want the mask to hide not only the layer itself, but its layer styles as well.
In this short video, we will learn to control how layer masks affect layer styles.