Dear Ranjithjashi,
Lay off compensation is not a basic wages as defined in PF Act. Workman gets it when he is not working. Or we can say, it is not earned while on duty. Therefore PF is not attract on Lay off compensation.
However, ESI attract on Lay off as per section 2(22) of ESI Act. It is included expressly.