Fix db lock name. closes #2706