Get retrieves the value associated with the given key from the cache.
It acquires a read lock to allow concurrent access from multiple goroutines.
It returns the value and a boolean indicating if the value exists in the cache.
Set adds or updates an entry in the cache with the specified key and value.
It acquires an exclusive write lock to ensure exclusive access during the update.