Added lock delay.