In a frame game you just have to have the lead when the frames run out!
Let’s look at a situation from a recent game.
You have the hammer from the foot, you lead 25-19 and it’s the last frame. You stick and the opponent shoots you for the kitchen rolling himself a corner 8 and leaving you in the middle of the other 7. You have two shoots left and your opponent has one; what do you do? Take his corner 8 off and try to stay on the board. If you don’t, it’s not the end of the world. He will shoot you into the kitchen but you just have to take his 7 off the center of the 7 area and hold for the win.
Yes, you will lose 3 points but you had the lead by 6.