What I would like to do is create a boolean custom field, and then create a kind of gate field that is enabled when the boolean is true and disabled when it is false. When enabled only users of a certain elevated role (say administrators) can resolve the ticket. Otherwise developers and the normal users who should be able to can resolve it.
I know this is a bit complex, but does anyone know how this might be implemented in Jira?