Add lockMode to DML classes

Related to #841