After you create retime markers and manipulate the timing of your animation sequence, you can anchor the changes in timing by inserting keys in place of the retime markers.
To insert keys in place of a retime marker
Maya inserts a key on all selected channels currently displaying under the retime marker. If no curves are selected, a key is inserted at this frame for all curves currently displayed in the graph view.