Maven has its own mechanism for projects to inherit settings through the <parent> xml element. These do not need to reference a GAV that exists within an aggregated (multi-module) Maven project. In fact it is quite common for projects to reference external POMs when utilizing frameworks like Spring Boot.
Documenting the parent POMs (recursively) in the Lockfile can help projects detect drift in project configuration and support hermetic/offline build use cases.