My mac is in a weird state without particular reason. It is awake, but mouse clicks don't work, so I can't open any menus or apps. If I shut the lid, it locks after a while, but not immediately. When it gets to the locked state, it allows me to log into my account, by typing password, but it won't let me switch user or get to the screen, where I can restart it.
Keyboard is even more weird. It react to all feature buttons (brightness, sound, keyboard brightness), except power button and "app buttons" (f3-f4). It doesn't react to holding power button for 10+ seconds, nor cmd+option+power button shortcut.
I'm able to call "force quit apps" menu via cmd+alt+esc and close all apps and restart finder, but it doesn't help.
Any ideas what should I do?
I can't detach battery, since it 2015 retina model and I don't have correct screwdriver on me.
UPDATE: External mouse and keyboard react the same way