Locking files and members for DDM

Putting object locks on DDM files and their associated remote files requires special consideration.