Apple ID has been hacked
I think that someone has hacked my Apple ID account on my iPhone (XS Max). I changed the Apple ID password from my Mac but I still don't have any access to my iPhone. It is locked and I can't unlock it. Even when I turn on the lock screen its starts pressing stuff on its own (ex passcode, emergency calls, medical ID etc). And when I tried to turn it off, it doesn't let me swipe right to power it off. Also, my Mac works well so far. I really don't know what else to do. If anyone has any other suggestions please let me know.
iPhone XS Max, iOS 15