During totalitarian periods, such as France’s Hitler period and today’s North Korea, did these countries have intellectual property protection? There is no copyright protection.

Yes. France had its patent law in 1791. North Korea also has patent, trademark, and copyright protection. Germany also had many important patents during World War II, see /link?url=i4HcsPf5m68molQRjtWJqq7l9fcUrln6jlEl8NlJnShUi-LxlM5RjSeHYqSTAdx0HlqkiAxo9lU5zAV3PjqiJq. If you are interested, you can check it on the official website.