<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_state_changes(self, state_changes_to_delete: List[int]) -> None: """ Delete state changes. Args: state_changes_to_delete: List of ids to delete. """

        with self.write_lock, self.conn:
            self.conn.executemany(
                'DELETE FROM state_events WHERE identifier = ?',
                state_changes_to_delete,
            )