rengolin/HPCC-Platform — comment on commit e059ad17a92c2049a6e2cde01bd2fe0fe8fdd252
File: dali/base/dadfs.cpp line 2334
By jakesmith:

Agreed, lockProperties/unlockProperties should be both short-lived and be finished (lockcount==0) by time lockTransaction,
but lockProperties/unlockProperties will occur within the lockedTransaction. It's setting proplockcount=1, to avoid any nested lockProperties from attempting to changeMode again.

lockTransaction/unlockTransaction, is basically performing the same function as lockProperties/unlockProperites.