File editing lock function

Feature request for product/service

Cursor IDE

Describe the request

Request for file editing lock function:
I always use the agent with the Run anything setting.
When incorporating third-party tools or OSS into a product, I would like a mechanism added that prevents the agent from editing the contents of those folders. For example, right-clicking a folder and marking it with a lock would prevent the agent from editing it. I don’t want to have to specify this every time with a rule.