Sculpting - locked vertices

please is there any chance of locking some verts while sculting to they couldnt move???

currently Blender doesn’t have a mask function like zbrush. I remember an experimental version a while ago that had masking, maybe we can expect it in the future.

I don’t know about sculpting but this does work for me in proportional editing. If I select some vertices and then hide them and then go back to the mesh and play with it and then unhide the selected vertices they seem to be at their original locations.
Might work in sculpt, I don’t know.

could the mask modifier work?