Hi,
If it's a personal computer, the problem might be that you linked it to a work or school account. This computer may have been registered, thus having the policies and settings configured.
In that case, you can open the command prompt (admin)?
If not, you might have to reinstall Windows. However, if it's registered to a work or school account, reinstalling with internet access will get the computer stuck in a domain access loop.
If it's a work computer, then you need to check with the company's or school's IT team.
Thanks