if you complete your two years and will not re-hire you, they will not give you NOC. unless company is closing down even if you havent finished your 2 years, you can work it out to get NOC. i suggest you get a new job, get offer letter and they might give you NOC. similar to what happened to some of my colleagues in the company.