Very odd.... And certainly frustrating, I'm sure.
Try the first two options in this article --
https://www.top-password.com/blog/windows-10-fix-your-device-is-offline-please-sign-in-with-the-last-password/I can't recommend the 3rd option.
The 4th option isn't going to work as documented if you can't get into Windows.
I assume that you tried booting into Safe Mode, yes?
EDIT -- I'm adding another link which has a more detailed process for the 4th option above using the Advanced Recovery option to launch Regedit from Command Prompt. Hopefully you won't need to go there and the problem is solved with one of the two easy options.
https://techcult.com/your-device-is-offline-please-sign-in-with-the-last-password-used-on-this-device/
_________________
stephen boots Microsoft MVP 2004 - 2020
"Life's always an adventure with computers!"