Usually, yes. If the frames are sound, repairing a sealed unit or lock is far cheaper than new windows — often 70–80% less than replacing.