Sealed class representing the result of a lock operation.
Represents a failed lock operation.
Represents a successful lock operation.