So I can't write a story with HP characters, but I can't be copyright struck for writing that there is a book called Harry Potter that has these characteristics.
(The above is in the USA, other countries have different policies and rights.)
https://www.mugglenet.com/site/publications/
You can also find unofficial and unauthorized books in other settings, such as Minecraft, but you can argue that it's explicitly permitted as seen here: https://www.minecraft.net/en-us/article/commercial-use-guide... - but you can ignore those in the USA in many cases - here's one already: https://www.amazon.com/Minecraft-Monarchies-UnOfficial-Story...
>There are at least four books so far in the "unofficial" series, and if you believe that the companies involved wouldn't copyright strike it if they could, that's protected by the first amendment.
You have no idea what you are talking about. The first amendment isn't a defense to copyright infringement. transformative fair use with a de minimis copying is.