Whats the cost differential in paying for a thread job and brake vs a barrel already threaded ?
There is something different about an M&P 10 barrel extension and bolt, such that you can't just go changing to anyone's barrel without some real fancy footing (has been done, search around you will see examples)..
So in short you gotta buy an S&W barrel. One place online I just looked at sells their parts but a barrel isn't one of them. Maybe, probably unlikely, S&W will sell you one but I bet it's cost prohibitive if so - at least for the special contoured 18 inch..
If I was in a free state I'd get off that proprietary platform before I dumped $$ making a lifetime warranty moot, keep it for what it is or sell it, get an Aero M5 put together and modify to your heart's content.. or in a ban state similarly I'd be happy with it or would sell it and similarly get a platform that is flexible to modifying - ie if you had a DPMS based rifle you could have a few uppers for it...
With an M&P 10 you are kinda stuck, upside is you are backed by their service and they are good quality but downside is they are NFG for customization.