Rigor mortis sets in due to non-functional "ATP powered calcium pumps" as a result of which the calcium ions stream out & the muscles remain in a suspended animation state.
But, it's a frequent observation (as can be seen from a coroner's report) that the time for rigor mortis to set in depends on external temperature, like it's earlier in summer, but late during winter.
So why this fluctuation?
Wikipedia has got an answer, but it's too brief.
When conditions are warm, the onset and pace of rigor mortis are sped up by providing a conducive environment for the metabolic processes that cause decay. Low temperatures, however, slow them down. Therefore, for a person who dies outside in frozen conditions rigor mortis may last several days more than normal.