A man left his bike unlocked while going to buy cake.