Jenkins pipeline lock resources
I found exactly what I was looking for- 

[Jenkins plugin] (https://wiki.jenkins.io/display/JENKINS/Lockable+Resources+Plugin)

Which let you create a lock between, slaves , different jobs and more..

(in contrast to the plugin description)