wirte read try lock test
fix unlock failed because of lockTimes is -1(try lock failed lockTimes is 0)