A possible implementation would be to introduce the concept of a soft lock. On receipt of an --exclude directive smart will add the requred locks process the command and at the end of the transaction remove the locks.
A possible implementation would be to introduce the concept of a soft lock. On receipt of an --exclude directive smart will add the requred locks process the command and at the end of the transaction remove the locks.