Having trouble camera keyframed

I have looking through Camera perspective and I have selected “Lock Camera to view”. When I move around the scene my camera moves with me.
How do I set a keyframe for the camera. When I move to frame 50 and change cameras position (ie my view) I should get a new keyframe. Nothing get set however. It appears I have to move the camera from perspective view in order to get keyframes created.

Am I doing something wrong?

I have Blender 2.61