In custom pivot editing mode, edits to the pivot's position and axis orientation are reset each time you select a different component. Pinning a custom pivot locks your edits in place, letting you use the same custom pivot to transform components on the same mesh or on another mesh.
To pin the custom pivot
Pivot pinning remains locked during component selection changes, object selection changes, and when you switch to Object selection mode.
To remove pivot pinning