Hello,adel mutawi
Thank you for posting in the Microsoft community.
I see that you are experiencing a Windows activation failure with error code 0xC004F012, which usually means that the activation key cannot be used to activate Windows.
I see that you are using a pre-installed OEM version of Windows, because it is a specific version pre-installed on the computer by the device manufacturer. You need to contact Lenovo Legion 5 Pro laptop after-sales technical support for further assistance and support to resolve the activation issue. They should be able to provide a customized activation key based on your product information, assist in troubleshooting, and other necessary support services.
Here I provide you with access to the Lenovo notebook technical support website
https://newsupport.lenovo.com/notebook.html
Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.
We hope that your problem can be resolved as soon as possible. If there is anything we can help you with, please feel free to contact us. Thank you for your patience and cooperation!
Best Regards,
Rota|Microsoft Community Support Specialist