The issuance or the refusal to give NOC is completely at the discretion of the employer. You just cannot do anything about it. Just plan to leave quietly with all your dues.