FT-633 fix the data race in lock request start and retry
FT-633 add a locktree test case