1.fix bug of reset time wrong with ReentrantRLock in RLock script
2.fix bug of write lock failing to lock for the first time
3.fix bug of unlock failed with ReentrantWLock in UnWLock script
test(lock script): add new test of RLock and WLock
1.add refresh test of RLock
2.add new test of ReentrantWLock#