I was about to ask a similar question actually. We keep running into problems where our build group can't delete a directory because someone else had opened one of the files in it, and then the build automation fails. Not even root can remove those files until the offending session is found and killed or the lock is removed.
Is there a way to selectively disable locking so that some directories/shares/qtrees/etc will allow open files to be deleted?