Its a local labour law. It can be enforced if you break your contract. However if you complete your contract, (The 3 years you signed up for) it cannot be enforced. I have known of some cabin crew (not in FZ) that were stopped from leaving citing this law...but then they were in the company for less than 2 years. Others who had completed 3 years did not face any problem.