[PATCH 1/2] conf: add locking option to disk source