Make lock wait time customizable