Hi.....welcome to the club
I would be tempted to disconnect the battery, leave for a short while and then reconnect (negative off first and on last).
The try to plip the locks with the key fob and see if it reads the keys after a few attempts.
Here's some info on battery reset but for S-Type but some functions may not work but may also be helpful to see procedures