The seek functionality is available in WP8 (not sure about WP7).
1) Start playing any song or video
2) Long press the Fast Forward/Backward button until you reach your desired playing time.
Note : This is possible only from inside music player (music + videos -> music)
and not from lock...