The SONY Xperia S LT26i, released in 2012, came with Android 2.3 (Gingerbread) out of the box, which later received updates up to Android 4.1 (Jelly Bean). If you've installed a custom ROM or performed an unauthorized modification, you might encounter issues with the lock screen pattern.