Steps:
1. Send transaction (A) to a different wallet
2. Using the change, create another transaction (B) to a different wallet
3. `abandontransaction` B
4. `bumpfee` A fails with `Transaction has descendants in the wallet`
bool CWalletIsLocked() const
{
    if (!IsCrypted()) {
        return false;
    }
    LOCK(cs_);
    return vMasterKey.empty();
}
bool CWalletLock()
{
    if (!IsCrypted())
        return false;
    {
        LOCK(cs_);
        vMasterKey.clear();
    }
    NotifyStatusChanged(this);
    return true;
}
bool CWalletUnlock(const CKeyingMaterial& vMasterKeyIn, bool accept_no_keys)
{
    {
        LOCK(cs_);
        for (const auto& spk_man_pair  m_spk_managers) {
            if (!spk_man_pair.second->CheckDecryptionKey(vMasterKeyIn, accept_no_keys)) {
                return false;
            }
        }
        vMasterKey = vMasterKeyIn;
    }