lock

Function lock 

Source
pub async fn lock(
    client: &mut KachakaApiClient<Channel>,
    duration_sec: f64,
    options: StartCommandOptions,
) -> Result<String, KachakaApiError>