Question: how to do keyframes in after effects?
Answer: Click the Stopwatch icon next to the property name to activate it. After Effects creates a keyframe at the current time for that property value.
Choose Animation > Add [x] Keyframe, where [x] is the name of the property you are animating.