Pergunta de entrevista da empresa Revolut

How would you make a property thread-safe in Kotlin?