It's the battery system that locks you in. I have mostly DeWilt cordless tools and they are totally fine for a home jobber that I am. I do also own some Milwaukee and some Makita.
If I were to re-buy all my cordless tools, maybe I'd go with Makita, but there are some Milwaukee tools I do like as well.
Even so, these tools are not as different from each other as they used to be. DeWalt/Milwaukee/Ryobi and others have been bought out by VCCs and are made in the same factories now.
Lately I look at Festool products b/c I see my youtoobers using them. I fear they are too costly for the likes of a home user like me.
I don't buy cordless anymore. If I can have a wire I get it, it's cheaper, and I've had batteries die in the middle of the job way too many times. And I've had batteries just break/stop charging. And these batteries cost almost as much as the tools themselves if you have to buy one by itself.