I haven't started yet but I am now worried about the exit that your job gives you
So if you want to leave your job as it doesnt suit but you have a 2 year contract does that mean they do not have to sign you out?
The company pays for your visa and work permit, as well as flights.
That represents quite a loss if you leave before the first year, so they tend to charge you the costs.
That seems perfectly reasonable.
You can't legally leave the country without an exit permit but, the truth is, if you manage, there's little they can do except ban you from returning.
However, if they catch you trying, you could well end up in serious trouble, as well as losing your air fare.
I strongly suggest no one tries it.
As for two years - don't.
The company only gets a one year work permit, so the common reason they want you to stay is, they have a high staff turnover.
Take that as you wish, but there is no way I'd sign a 2 year contract without a very special reason.