lockAnyValue

fun lockAnyValue(sharedResource: SharedResource)
fun lockAnyValue(sharedResourceName: String)

Adds a lock to any custom values in specified shared resource