Scheduled Auto Unlock or API to enable/disable

Is there a way to schedule when auto unlock is active? I don’t use my main door at night time, I walk past it to the side door. So I have to remember to ‘cancel’ the auto unlock if I go out at night.

Ideally I’d like a way to enable/disable it via api/webhook or something so I can make it conditional on various factors. Failing that, schedule would satisfy 90% of my needs.

Any advice?

I’m quite sure it’s possible through API.

Any tips where to find it please?

Care to share any info on where you find this? Please

There is no easy way to schedule the auto unlock. You could try enable/disable using API PATCH /api/v37/my/lock