How did you obtain Windows 10?
If it was preinstalled you have no rights to use it after motherboard replacement.
If you bought Windows in Microsoft Store or in local retail store, please call Microsoft support during work hours and ask a help from support person.
Hope above information can help you.
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.