Leftover from #54 - Locks should be supported on directories - Provided depth should be taken into account - Handle shared locks properly