You have the right to ask for NOC. But whether locally hired or hired from outside, the decision is solely on the discretion of the employer. If they refuse you cannot do anything.