Well, you can try to flash your phone but probably you will lose your unlock (unless it was a permanent unlock which I doubt).

If you flash to latest firmware, you can see if it is a bug or something with that firmware.

But still, if you flash it and lose the unlock, we can help you unlock it with the same tools you use to flash.