add: deploy, lock & unlock tasks and upd deploy flow