coordination: implement lock mechanism in ZK

Change-Id: I0372200abbb79d2812a0e89317518e58d754845a
Co-Authored-By: Sahid Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>