I say the lock..........with all the small parts (tumbler, sear, screws, yada, yada, yada....) those parts need to function within themselves. There is much more intense file work and what not, but that's just my opinion.
Once the barrel is made, straightened, reamed and polished the decision to rifle it can go either way. Leave it smooth or cut some grooves?