Garage Door Auto Shut off

I am trying to set up my garage controller to auto shut off after 5 minutes if it doesn’t find the QR code after 5 minutes or just auto close my garage door if Left it unlocked. It should be easy but I am not able to find any setting related to this. Any help will be appreciated.