feature: aggregate locks from dbs to get global lock