Yes, if you reflash the MAIN firmware, then the unlock patch will be removed(in fact all patches will gone).
To check the SIM lock status, go to >*<<*< menu then Service Info then SIM lock. Here all locks should be unlocked...