1st case, whether you are Aadhaar-enabled or not enabled has to be checked/known. If it is Aadhaar-enabled, then there is a single form for withdrawal that has to be filled. If it is not enabled, 2 separate forms have to be filled.
First, before withdrawal, make sure all transfers previously to be done have happened. Then go for withdrawal.
KYC also has to be fulfilled if you wish to go directly to PF; otherwise, you need to go through the employer.