Mask Selected is a Blender add-on that allows you to easily mask selected vertices in Sculpt Mode. Select the vertices you want to mask in Edit Mode, then switch to Sculpt Mode and click the [Mask] > [Mask from Edit Mode Selection] button located in the toolbar.
