HR can refuse acceptance of resignation if request is not as per terms and conditions of appointment.
In theory employee can sue the company for delayed acceptance of resignation and seek damages for proven loss of opportunity.
But in practical life, no effective remedy exists due to delays in judicial system.
Exits should be well planned, foreseeing all hurdles and delays.
Difficult balancing act will have to be done many times.