Check who holds the advisory lock on a resource.
Returns: Lock entry if resource is locked, None otherwise.
Successful Response
Advisory lock on a resource.
Attributes: resource_id: ID of the locked resource. agent_id: ID of the agent holding the lock. organization_id: Organization the lock belongs to. acquired_at: Timestamp when the lock was acquired.