Allow the table locking to be done to source and target separately.