lock: The closure to invoke for each region of data. You may stop the enumeration by setting the `stop` parameter to `true`.
