If you want to keep your data but cannot use ADB or Google account, you can flash a custom recovery (TWRP) to delete the gesture.key file manually.
If you own this classic device today, you may face a common issue: Because this phone is over a decade old, modern "Find My Device" features may no longer function properly, and Google’s security protocols have changed. However, due to the older Android version, several specific methods can still work. Bypass Lock Screen Pattern on SONY Xperia S LT26i