Depends on the model. The second generation Thinkpad X1 Carbon didn't work with Linux *at all*.
If you want a Linux laptop, look for someone who actually supports Linux on the laptop. Dell has a few, including their XPS 13 developer edition. Purism's Librem laptops are a little more expensive, but specifically built for Linux. There are a handful of other vendors that primarily support Linux.
Lenovo has been hit-and-miss for a while now, and this isn't showing much that's recent: