I have a content type with a select field. When the selected value from that field is "Locked", I would like to lock editing on that node for all roles except admin (or other role I choose to be admin). Then if the admin selects a different value, I would like to unlock editing on the node. For this reason it seems that rules are the best way to trigger an action like this. I have the content access module installed, which allows targeted access permission both for content types, and individual nodes. But how can I combine the two parts to lock editing automatically based on the select list? If I couldn't do it automatically, is there some way to restrict all access per node?
Edit: This is possible with Rules and content access. There is an action provided by the content access module which will revoke access to a node based on role.