Revolut Interview Question

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