Sim locks can be unlocked but they are usually accompanied by a non-unlockable bootloader which cannot - that's what you need to check before buying one if you hope to get Sailfish on it.