The market value of that home may have doubled to $800,000. But because the down payment locked in a pre-determined price, the buyer pays $400,000. Now, in an alternate scenario, say the zoning approval doesn’t come through until year four. This is one year past the expiration of this option. Now the home buyer must pay the market price because the contract has expired. In either case, the developer keeps the original $20,000 collected.
The purchase of a call option is a long position, a bet that the underlying futures price will move higher. For example, if one expects corn futures to move higher, they might buy a corn call option. The purchase of a put option is a short position, a bet that the underlying futures price will move lower. For example, if one expects soybean futures to move lower, they might buy a soybean put option.

When purchasing put options, you are expecting the price of the underlying security to go down over time (so, you're bearish on the stock). For example, if you are purchasing a put option on the S&P 500 index with a current value of $2,100 per share, you are being bearish about the stock market and are assuming the S&P 500 will decline in value over a given period of time (maybe to sit at $1,700). In this case, because you purchased the put option when the index was at $2,100 per share (assuming the strike price was at or in the money), you would be able to sell the option at that same price (not the new, lower price). This would equal a nice "cha-ching" for you as an investor.
For example, if you bought a long call option (remember, a call option is a contract that gives you the right to buy shares later on) for 100 shares of Microsoft stock at $110 per share for December 1, you would have the right to buy 100 shares of that stock at $110 per share regardless of if the stock price changed or not by December 1. For this long call option, you would be expecting the price of Microsoft to increase, thereby letting you reap the profits when you are able to buy it at a cheaper cost than its market value. However, if you decide not to exercise that right to buy the shares, you would only be losing the premium you paid for the option since you aren't obligated to buy any shares. 

The price at which you agree to buy the underlying security via the option is called the "strike price," and the fee you pay for buying that option contract is called the "premium." When determining the strike price, you are betting that the asset (typically a stock) will go up or down in price. The price you are paying for that bet is the premium, which is a percentage of the value of that asset.