Check read lock when acquire write lock