Auto-lock protected note not working if Mac is put to sleep

I’m not sure if this is a bug or a feature request, but I find this behavior a little odd.

Testing version:
Versione 2.0.7 (11876)

What were you doing:
Put mac to sleep (by closing the lid) before the auto lock time for protected notes is elapsed (and so the protected note content is still visible).

What feature did you use:
Auto Lock notes

What happened:
When I reopened the lid after an hour or more the note content is still visible

What did you expect to happen:
The note content shall be hidden and password protected when I put the Mac to sleep (or at least if the lock time has passed when I wakeup the Mac from sleep)