What is the best way to convey "This window is non-editable info right now, but you can click here to edit it" on macOS?
I'm looking to create a macOS UI that lists some information about an item. If the user has sufficient permissions (i.e. is an Admin), they should be able to turn this read-only info UI into a read-write one.
The first thought was, of course, to make it a window/panel with a button that says "Edit". Upon clicking that button, all deactivated controls would be activated and the user would be able to edit the form.
Then I remembered that, around the system's UI, there are little locks like this, which do essentially what I'm trying to do:
Is this a good UI for this? Is there a better one that I'm not thinking of? A pencil in the title bar or something? I would love any thoughts ?