Create a comp, create a solid, draw a mask on the solid. you will now be in the layer panel.
Click the empty space in the timeline to deselect the color solid. Move your mouse over the layer panel. the cursor will show you are going to create a new shape layer. But you are actually creating another mask layer.