lock commit if one of the changes in the commit contain NOCOMMIT