add parameter lock-type and lock-wait documentation