The settlement price of an option contract on the day of expiry is the Intrinsic value of that contract based on the closing price of the underlying instrument.
An option contract that expires OTM will have 0 intrinsic value and hence the settlement price will be 0. LTP is the last price at which the contract got traded, and a trade cannot happen at 0 price.