For all Xperias the device lock is now mandatory (due to encryption of /home) and cannot be circumvented since version 3.3.0.16, when flashed with this or higher.
(Afair for the X10 it was then from the beginning?)
So for X and XA2 you need to flash SFOS 3.2.1.20 (or lesser) and then update OTA. This is the only way you can achieve not having device encrypted and not using a device lock code.