Supply object methods for locking files
