issue #19456: Add record lock support.