[swift] Ideas: Object Locking