Set transaction lock