Combine warm water, yeast, and sugar in a stand mixer (see Notes) bowl fitted with a dough hook. Let the mixture sit for 5 to 6 minutes or until the yeast begins to slightly foam.
Add flour, salt, and butter. On low speed, knead for 10 to 12 minutes. The dough should appear tacky and shiny.
Cover with plastic wrap and rise in a warm place until doubled in size, around 1½ to 2 hours.
Turn out dough on a lightly floured surface and divide into 4 even rounds. Shape each round into a burger-sized roll or hoagie-shaped round–you choose. Cover with a towel and rest until slightly risen, about 20 to 30 minutes. This will depend on the temperature inside your kitchen.
Preheat the oven to 400ºF.
In a large pot, create a baking soda bath by bringing 5 cups of water up to a boil. Little by little, add baking soda (if you add it all at once, the water will boil over and create a mess). Once all of the baking soda is added, reduce the heat to medium-low.
Line a baking sheet with lightly greased parchment paper or silpat and set aside.
In small batches (1 to 2 rolls at a time), boil the rolls for 20 seconds, flip, and cook for an additional 20 to 25 seconds. Strain completely (see Notes) and transfer the boiled rolls to the parchment-lined baking sheet. Using a sharp knife, score an “x” on the top of each roll and top with a generous pinch of coarse or flaky salt.
Bake for 23 to 25 minutes, or until the rolls are brown.
Allow the pretzel buns to cool for at least 15 minutes before slicing in half and serving.