Use the key to unlock both before you re-connect the battery.
Then, see what happens as you re-connect.
They locked, that is certain.
However, they should have responded to the unlock request.
Both should work mechanically correct with the key.
Keep us posted.

Marty