The "phone lock" and "SIM lock" isn't the same thing...
The phone lock is a password(PIN code) what you set to protect the phone from others, or in this case from yourself :D. The SIM lock is to prevent to use other SIM card than your provider's.
So, connect your phone to XS++, click on gdfs radio button, then click on read user lock codes. Then you will get the phone lock code: 0000ffff if your PIN is 0000, or 1584ffff if your PIN is 1584 etc.