How do I remove a script trigger if I get a message stating it's locked and can't be removed.
I suspect the object you are trying to modify is contained in another object which is locked and you have selected multiple objects which include both the object being modified as well as the locked object - Maybe a slide panel or tab control.
Another possibility is the object being modified has been grouped with a locked object.
related to and answered in...
When I perform a find, I get this message: This script cannot be found or has been deleted
just adding link in case people need to find answer
Try 1. Did you fix any limited access privilege for that fields & layout?
Try 2 : Select the field object, go to Inspector tab, Go to 'Position' tab > Go to 'Arrange & Align' tab > select 'Unlock' and Run your actual!
Try 2.1 : If you required NOT TO EDIT that field object without any locking issue try this below,
Select the field object, Select Inspector tab, Go to 'Behaviour' > Field entry > check tick on 'Browse mode' & 'Find mode'. Now run as same above you've tried!
Select your object in Layout Mode, go to the inspector, find the lock and unlock icons in Arrange & align area, click the unlock.
Retrieving data ...