The extension reserve allows you to reserve tickets for one or more persons using a period table and a form. Each reservation has it's own QR Code that can be scanned at the event.
Read the Extension Manual: https://docs.typo3.org/p/jweiland/reserve/master/en-us/
composer require jweiland/reserve in your Composer based TYPO3 installation root.
Just search for
reserve and click on install.