Official comment
You could try marking the file permissions as read-only (at the filesystem level), but there's no way to lock it within rekordbox without locking ALL of the functions (you can lock the database but it doesn't just lock changes to the file tags, it prevents you from creating / deleting playlists as well).