Hello team,
I am looking to find a method to lock/unlock attachment(file data type) fields based on business process flow stages.

I know that file columns cannot be locked/unlocked with business rules.
Is JavaScript the only solution in this case?
If so, could you please help with a code template for that?
Regards,