Locking a record for deletion from a role

Is there a way to set permissions on a record so that it can’t be deleted by a particular role?

I’m building a workflow management system, and I want to be able to prevent deletion of records associated with completed workflows by most people. I need a way to change delete permissions on an individual record. I’d like to avoid having to build “before delete” workflow logic to implement this if the platform already has a way.

You just have to toggle the permission on a specific record.
Make sure you enable permission buttons on the record list first. Look for the option at the bottom of the record list configurator.