The option premiums on expiry, especially in the last 30 minutes of the market, don’t depend on LTP, but rather rely on the weighted average price of the underlying.
even I had the same doubt and posted it in the community, you can refer to this for more understanding.