Firstly, when posting issues like this, it is customary to post some additional information such as:
What Mods are you using, What game version are you playing on, and computer specs.
However, I'm going to assume you're playing with BannerTweaks, in which case there's a bug that freezes the game on the blacksmith screen if you have the "Hide Locked Items in Blacksmith Screen" option enabled.