I have the situation that I want to restrict developers from working in specific files of my framework.
So for example, when starting a project from my framework template, I want the process.xmal to be editable, but the main.xmal to be readonly.
However, you can achieve your goal using Git/Azure DevOps, but through governance (policies, approvals, libraries) but not by locking the file in Studio.
hey @l.z.pruemm
Restrict File Access in UiPath Framework you can try this Solutions:
Windows File System Permissions (BEST & SIMPLEST)
Locate your framework template folder
Right-click main.xaml → Properties → Security tab
Click Edit → Select user/group → Uncheck “Modify” → Apply
Users can read/view but cannot edit/save
Keep process.xaml with full permissions
When developers open main.xaml, it opens as read-only in Studio.