Explain how the file be edited when the file is locked
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=392416) </details> <!--IssueSummary end--> <!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal Source: https://twitter.com/_Codito_/status/1626687790036533248 > don't understand though why other users can't unlock file (button disabled), while Edit button is active and opens web editor for that locked file :thinking_face: ![image](/uploads/6e07b0d89d2aab3d27fc9ed1c92cba91/image.png) If you continue to edit the file and try to commit directly to the branch with an error message "denied by custom hooks" ![CleanShot_2023-02-20_at_13.22.54](/uploads/83a2b90f38be4a03bba6479fe9aa3d57/CleanShot_2023-02-20_at_13.22.54.png) The error message doesn't help the user understand why they can't commit the file directly on the same branch. But the file can be edited on a separate branch <!-- Label reminders Use the following resources to find the appropriate labels: - Use only one tier label choosing the lowest tier this is intended for - https://gitlab.com/gitlab-org/gitlab/-/labels - https://about.gitlab.com/handbook/product/categories/features/ -->
issue