Change scopedlock.