How do I focus on an object's center (Numpad period not working)
To fix the . shortcut, press N to bring a sidebar, go to View > View Lock and disable Lock to 3D Cursor



As for the rotating pivot point problem, you can change that at the middle top of the 3D Viewport.