I would like to know if there is a way to prevent logging work after an issue has been resolved.
You can set a workflow property on the "Done" status.
property key = jira.permission.work.denied and leave the value empty.
For more property values on workflow statuses see:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.