This is a user to user technical support forum, so don't post personal information on a technical support forum.
Which country and where did you purchase your phone?
Your phone is locked to a particular carrier and if you want to get your phone unlocked, then you'll need to contact that carrier for it to be unlocked legitimately. Only the carrier can unlock your phone - nobody else can.
Also, if your phone was unlocked and it re-locked after you re-set the phone, it means that it was hacked to unlock it, so you can get no help here for a hacked phone.
Nobody here on a user forum can help you with this.
If you want to get your phone unlocked, then you need to contact the carrier that the phone is locked to and that is something that you need to find out for yourself. Nobody here can help you with that.