It’s possible to encrypt data using an AIK public with TPM2.0?

I’m using a TPM for my project, I generate an AIK, and I want to encrypt data with this key.

I tried a lot of commands but any of them works so I don’t know how to do that.

Anyone can help me?