What's lock assignment?

The Lock assignment check box is automatically selected when you run a manual assignment from the UI. Lock assignment prevents a salesperson from being automatically removed from an opportunity through the assignment engine.

Only users with Full access on the opportunity can select or deselect the Lock Assignment check box for sales team members. Resources are assigned automatically to an opportunity during an automatic assignment process or through a groovy script.

When the lock assignment is selected, an automatic territory assignment can't remove any sales account team resources or team members. If the lock assignment is deselected, team members may be replaced if they no longer match the assignment rules.
Note: The Lock Assignment check box is not available by default and must be added to the Team subtab within the Edit Opportunity page using Application Composer. See the next section for more information.

Extending Pages for Opportunities Using Application Composer

  1. In a sandbox, navigate to Configuration > Application Composer.

  2. In the object tree, select Opportunity > Pages > Application Pages.

  3. Go to the Create Opportunity page and duplicate the standard layout.

  4. Edit the layout.

  5. In the Configure Detail Form region of the Opportunity Create page, move the Lock Assignment field from the Available Fields to the Selected Fields list.

  6. Save your changes.

  7. Publish the sandbox according to your company's business practices.