Karthik from HeyForm here. Setting up a time limit for your quiz/form is possible.
You can see multiple options "Create Connect Share Results Settings" above the form creation dashboard.
Click on Settings > Scroll down to Basic section > Toggle time limit on > Set up your time limit > Update
That's it! Please do not hesitate to reach out if you require any help.
Happy to help.