Password randomly changed in the middle of using computer and now I’m locked out
So I have a MacBook Air 2020 and I was on the Finder app deleting some old files and I came across a file that said a private file you don’t have access to and it wouldn’t let me delete it so I just skipped it and kept running into private files and in the middle of deleting files my password quit working to delete files and that password also goes to like my whole computer and now I can’t get into my computer and if I try to reset my password on the lock screen, it just sits there and loads and loads. I’ve tried to shut down. I’ve tried to restart. It will not let me use command R or options so I’m kind of stuck. I don’t really know what else to do because nothing’s really working. I’m not tech savvy.
MacBook Air 13″, macOS 15.7