Locking Libreoffice databases for editing

Is there a way to let users see that a database file is already in use and if opened it can only be read, the same way it does for writer and calc files? I can’t seem to find any info about it online.