Change interface to support passing lock data (for MCS).