<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def store_container(self, container):
 """Thread-safe method to store data in the state's store. Args: container (containers.interface.AttributeContainer):
 The data to store. """

    with self._store_lock:
      self.store.setdefault(container.CONTAINER_TYPE, []).append(container)