Is carry used to mean the same thing in the next two sentences?

I will carry the secret to my grave.

I carry her image in my mind's eye.
the same meaning