Currently on expiry day, most of stocks derivatives (except a few) are cash settled but SEBI is now making it mandatory (in phases) to settle expiry by by providing delivery or taking delivery (as the case may be)
A few scrips are already in such settlement and brokers do not allow to carry forward derivatives trades on/after last Monday of the month (last Thursday being expiry) unless a trader provides extra margin needed for such trades.
So one needs a huge margin, if one wants to carry stock derivative trade till expiry date
BTW, this applies to stocks derivatives only and not indices derivatives.