in time for ~(~に間に合うように): She finished her work in time for lunch. (彼女はランチに間に合うように仕事を終えました)

She finished her work in time for lunch.