Bitcoin Core v0.21.1

`bitcoin-cli walletprocesspsbt` does not trigger a `wallet locked please enter passphrase` warning when using a wallet which holds private keys. To be clear I am experiencing this behavior when using the `default` wallet created by core.

The expected behavior would be to remind the user they are dealing with an encrypted wallet, since `walletprocesspsbt` attempts to access private keys to sign the psbt. It would be useful if a warning were present in the rpc response to remind the user they are dealing with an encrypted wallet. 
CWallet* const pwallet = wallet.get();
            LOCK(pwallet->cs_wallet);
            CTxDestination dest = DecodeDestination(request.params[0].get_str());
            
            if (!IsValidDestination(dest)) {
                throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid address");
            }
            if (!pwallet->DisplayAddress(dest)) {
                throw JSONRPCError(RPC_MISC_ERROR, "Failed to display address");
            }
            UniValue result(UniValue::VOBJ);
            result.pushKV("address", request.params[0].get_str());
            return result;
        }
    };
}
#endif 
RPCHelpMan abortrescan();
RPCHelpMan dumpprivkey();
RPCHelpMan importprivkey();
RPCHelpMan importaddress();
RPCHelpMan importpubkey();
RPCHelpMan dumpwallet();
RPCHelpMan importwallet();
RPCHelpMan importprunedfunds();
RPCHelpMan removeprunedfunds();
RPCHelpMan importmulti();
RPCHelpMan importdescriptors();
RPCHelpMan listdescriptors();
Span<const CRPCCommand> GetWalletRPCCommands()