I don't know exactly the firmware and the GDFS of these phones, but the point is:

In the main FW is a routine what check the locks in gdfs. with the patch you can modify the simlock checking routine. After the patch the routine doesn't check the locks in gdfs.

If i'm wrong please tell me.