Update duye_lock.h

Modify TryLock implementing