The error could have various causes, from a driver problem to a hardware incompatibility. Please also note that some notebooks cannot support a 2 TB SSD. Here, for example,
https://psref.lenovo.com/Detail... you will find the specifications for a new Lenovo model. One M2 slot can support a maximum of 1 TB and the other only 512 GB. You can find the exact specifications for your model at
https://psref.lenovo.com/, after specifying the manufacturer number. There can of course be very specific incompatibilities, so it might be best to check with Lenovo support for more details.