what did you flash?
if you want to patch it (temporarly unlock it comes off if its been flashed and then you just have to apply patch again)
go here Remove SIM-lock patch generator - Top Sony Forums

if you want to fix it then flash your main, FS and custom pack.