I'm working on validating all the metadata for my music (a daunting task).

I'd like to lock all the files after I am done, and I'm hopeful that it will reduce indexing time as I add new stuff. Right now, all the music files are unlocked, and there are several hundred thousand of them, which would be painful through the GUI. I'm ensuring the metadata source is accurate (not using web metadata), as opposed to using the Mezzmo GUI, so once the metadata is set, I want it to ignore any file/object that has the "Locked" flag set.

It doesn't look like the CLI offers this kind of bulk management.

Is there a way to connect to the Mezzmo database directly, and if so, is there a query I can run that tells Mezzmo to tick the "Locked" flag on all the music files?