You cannot explicitly encrypt wallet transactions, because it is recorded in the blockchain. But, if you use a crypto that has privacy features built in which encrypt transaction, you can encrypt.
Depending on you crypto, encrypting transaction may be mandatory or optional.