placed 'until' for lock time logging