make lock mode usage consistent