Pergunta de entrevista da empresa Fiserv

Describe a scenario where 3 different process are trying to lock the same object. How would you design it?