Set timeout to infinite
python api: call Lock async, because it can take some time