The reason why futures are used to lock in costs is because purchasing raw materials in advance has unfavorable factors such as capital occupation and storage costs. Using the margin trading mode of futures, 10% of funds can be used for hedging, and there is no trouble such as warehousing.
The trend of futures price and spot price is similar, but the absolute price is not necessarily the same, because speculators make the price deviate to a certain extent.