The time lock can be configured in Administration - Club Setup. It allows you to prohibit reservations during certain time periods, such as midnight to 7am.
If you set a start time below midnight, for example 10pm to 7am, the lock was not working.
This has been corrected with the help of Cedric from the Tennis Club Lavandou, thanks to him.