Must have been a very clever dog.
Most aircraft don't even have handles on the inside of hold doors. (having locked people in holds before - sometimes even by accident)
More likely the first part is true (not uncommon as you say) and the dog made it's escape when the door was opened at the bay.