Unfortunately, there is no way to freeze sperm on your own at home.
The man can collect his sample and leave it for up to an hour (but it's best to use within 15 minutes if possible). If you are interested in freezing sperm, check out the article below.
Freezing Sperm 101: Costs, Can It Be Done at Home & More
Hope this helps and please feel free to reach out if we can help answer any questions!