Pergunta de entrevista da empresa Monzo Bank

How would you avoid conflicts in a concurrent (multi threaded) system?