Flynn and others, were never kept from speaking to the POTUS about any national security matter, especially if the POTUS asked for it.
A pardon never had anything to do with Trump speaking to Flynn about national security matters at all.