I've never heard of anyone having their provident fund retained. This Company has always offered the opportunity to resign, thus allowing them to keep all of the fund even after cases of sexual harassment and gross negligence (that's the carrot to avoid messy legal action and bad press).
And the only fund they could legally retain is the A fund as that's the fund they've contributed too. The B & C fund will always be yours whatever the situation as that was your contribution.