implement lock based concurrent chained hashmap