The first way is to provide them more challenging work opportunity and therefore they shall enjoy the job richness and self-actualization by taking more responsibilities.
You can also sign a training contract with the employees. The contract should include a service period clause stipulating that employees must remain and serve the company for a certain period. China’s laws protect such a provision if you sign such an agreement in writing.