I've checked the specs of the Lenovo* Yoga 512 from this site: https://www3.lenovo.com/ph/en/laptops/yoga/yoga-500-series/Yoga-520-14/p/88YG5000829 Lenovo* Yoga 520 (14) | Stylish 2-in-1 Entertainment Laptop | Philippines , but the information is not enough to know for sure if the Intel® SSD 600p is compatible with it.
The Intel® SSD 600p uses a PCIe NVMe 3.0 x4 interface and it's available in the M.2 22 x 80mm form factor. The only information regarding this specification in the Lenovo* site is that the Lenovo* Yoga 512 model can support up to 512GB PCIe SSD, so my recommendation would be to contact Lenovo* and ask them if this SSD is compatible with their computer as they have the full specification of the PCIe interface.
They have several support channels, you can contact them about your inquiry through the following site: https://support.lenovo.com/us/en/ Lenovo* Home Global Support
I hope this information helps you. If there is anything else I can help you with, please don't hesitate to ask.
Have a nice day.