If she has a work permit for where she is working now, then she needs an NOC to change job, or she can quit and come back in 2 years. There are no other options.

Her situation is exactly the same as every other sponsored worker in Qatar.