1. Navigate to the validation rules section of the object that contains the checkbox you would like to lock the value.
In Lightning Experience
Setup | Object Manager | Select the object | Click on the "Validation Rules" section on the left side of the screen.
In Salesforce Classic:
2. Click the New button.
3. Give the rule a name, preferably a self-descriptive one.
4. Input the following syntax for the Error Condition formula:
AND(PRIORVALUE(checkbox__c), TRUE,
ISCHANGED(checkbox__c))
Note: Replace "checkbox__c" with the API name of your checkbox field that you would lock the changes.
5. Add the Error Message and Description(optional).
6. Select Top of Page or a specific Field on 'Error Location'.
7. Click Save.
000385194

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.