Yes they will!! My mom just went through that with her dogs. Her female came into heat and her two males, that are both fixed and have been for years, stayed tied up with her for 10 days
YUCK!! The vet said that they will go through all the motions they just couldn't get her pregnant. But yes, everything will still work, just no babies at the end.