As a defense mechanism, Lobsters can release or throw their claws (and also grow them back). Most likely, the lobster dropped its claw in transit. You may cook and eat the claw (make sure it has not spoiled) as though it were still attached.