I want to know the concept of synchrounisatio n and Thread safety(lock) in theading