Effect parameter automation lock to clip

This is something I've been wanting to know how to do for some time and haven't succeeded!

When I animate any effect (assigned to a clip) parameter but then change the entry point of the clip, the animation keyframes move by that much. I'd like to lock them so that no matter what I do to the entry or exit trim of the clip, they don't change. How do you accomplish this?