htc one m7 after repair boot network locked!! help

boot was dead sudenly on connection to pc, repaired with jtag but i did not flash it because it worked direcly after boot repair but i realized that it was network locked now!!!! it is asking for sim imsi code. what to do?