Wait for x seconds on a frame

I just want to stop my timeline for 5 seconds after an animation completes.

I try with SetInterval, but i do mistake somewhere,

can anyone gives me code for this.