My father will work with the government for fifty years by the time he reties.
My father will be working with the government for fifty years by the time he reties.
My father will have worked with the government for fifty years by the time he reties.
My father will be worked with the government for fifty years by the time he retires.