Highfive interview question

Exclusive multiplication. Distributed locks.