Follow steps 1–3 in the article about Creating a key.
Then select that the key should have fixed time restriction for all users.
Specify the start and end date/time for when the key should be valid.
Press Create.
👉 If you want to send Individual time restrictions for each user, you can read more about how to do that in this article.