How to use Timer to exit LoopA,then run LoopB?

@Cybernetician
What is going to happen after the Arduino has been running for 10 seconds in your code?