Locking a note or a file

When I secure the note adding the lock I am not requested any password and can open the note even if it shows it is locked. What am I missing?
many thanks for your advise

This is expected behavior. Locking a record only prevents changing its content by typing.

There is no per-file encryption available in DEVONthink or DEVONthink To Go.