Can't change my object duration on timeline
First go to the Timeline window.

There you can define your rendering and playback range by choosing your start frame and end frame:



In order to adjust your keyframes
open the Dope Sheet window:




Press A to deselect all keyframes
Press B to border select the keyframes you want to adjust
Press G to move the selected keyframes to the desired position