add -lock-delay option