An optional reason explaining why the resource is being locked. This is displayed in the lockable resources UI while the resource is locked, helping other users understand why a resource is currently unavailable.

Example:

lock(resource: 'my-resource', reason: 'Running integration tests') {
    // ...
}