About consul KV locking

Hi Everyone, I am using consul kv store implementation for my project. So, I would like to describe one scenario here. So, there are two threads (python implementation) which are running and are getting scheduled at every 30 secs. Now, there will be a time where both threads will try to write to consul kv store which is a shared storage and probably at the same time. So, if that will be the case, will consul internally provides locking mechanism by-default to write a data to the same key ? From my side, I have done small experiment which describes above case. Started two python processes which will start writing to same consul key at the same time. I did not face any problem. But, still there was some difference of micro-secs. Hence, did not reach to concrete decision. Please let me know if anyone has anything to say on this. Thank you in advance !