Hi there,
As it seems you cannot shut down the PC, I would suggest you try to enter the safe mode and then try to undo what you did and login back to the PC.
Safe mode starts Windows in a basic state, using a limited set of files and drivers. If a problem doesn't happen in safe mode, this means that default settings and basic device drivers aren't causing the issue.
You can follow this link and try entering the safe mode
https://support.microsoft.com/en-us/windows/start-your-pc-in-safe-mode-in-windows-10-92c27cff-db89-8644-1ce4-b3e5e56fe234
--If the reply is helpful, please Upvote and Accept it as an answer--