Como Atualizar senha do cliente via programação no Magento 2
$customerId = 1; // here assign your customer id
$password = "custom_password"; // set your custom password
$customer = $this->_customerRepositoryInterface->getById($customerId); // _customerRepositoryInterface is an instance of \Magento\Customer\Api\CustomerRepositoryInterface
$customerSecure = $this->_customerRegistry->retrieveSecureData($customerId); // _customerRegistry is an instance of \Magento\Customer\Model\CustomerRegistry
$customerSecure->setRpToken(null);
$customerSecure->setRpTokenCreatedAt(null);
$customerSecure->setPasswordHash($this->_encryptor->getHash($password, true)); // here _encryptor is an instance of \Magento\Framework\Encryption\EncryptorInterface
$this->_customerRepositoryInterface->save($customer);
Desta forma, podemos atualizar a senha do cliente no Magento2.
Espero que seja útil para você.