On trying to encrypt a virtual machine, the vSphere Web Client will return the following error:
"Failed to change encryption state for the virtual machine with vSphere Replication enabled."
Since the virtual machine has a replica made by vSphere Replication, it is not possible to encrypt the original virtual machine
Destroy the replication of the virtual machine, then encrypt the source VM and create the replication again.