I've had this sort of thing happen with a Dell XPS, and their response was "purchase a new laptop". While it would be great if we had stronger consumer protection, for both economic and environmental reasons I prefer the Framework approach.
When you purchase a new laptop, you can choose a different manufacturer who may have a more durable product. When you have a framework, you're forced to buy the same component from the same company that made it poorly in the first place, if it's even in stock.
You didn't mention what the problem was, but Dell laptops are so ubiquitous that buying replacement parts on eBay is both very easy and highly affordable. This is one of the reasons I'm partial to Dell, even in the face of all the objectively better-designed alternatives.