Cut the bacon into small pieces and brown in the bottom of a large dutch oven.
Add the chopped onion and cook until softened.
Add beer, stock, sugar, molasses, bbq sauce, and spices, whisking to mix.
Add beans and give a stir to mix.
Put in smoked pork hock and shove to bottom of pot.
Put lid on pot and put in preheated oven.
Bake at 250°F for 6 hours then shred the meat off the smoked pork hock. Put the meat and the bone back in the pot (dispose of the skin).
Bake for another 4 hours. Remove from the oven and set on the stovetop.
Remove the bones and bring to a light boil, giving the beans a bit of a mash, leaving some whole for texture. By this point the liquid should be mostly absorbed.
Notes
You can put the beans on low in a crockpot, but I prefer the dutch oven.