Why are fields editable when they should be read-only?
When a Salesforce field remains editable even after you mark it as read-only on the page layout, the cause is usually not the layout itself. This usually stems from profile permissions taking priority over page layout properties.
Most teams remove field editing at the page layout level to meet business requirements. These are the usual steps:
Go to the Object Manager and select the desired object to edit.
Select Page Layouts.
Highlight the field you want to change, then open its properties.
Edit the field properties and click OK.
If the field stays editable after you apply the layout, Salesforce is honoring a profile-level override.
What to check
Review the user’s profile settings:
Find the user’s Profile and click Edit.
Go to Administrative Permissions.
Look for Edit Read Only Fields.
If this checkbox is selected, the user can edit fields even when the page layout marks them as read-only.
How to fix it
Clear the Edit Read Only Fields permission on the profile.
This restores control to the page layout and enforces your read-only rules.
Key takeaway
Profile permissions take priority over page layouts.
When a field behaves unexpectedly, always check the profile settings.