Build Marlin 2.0 faied due to the 'framework-arduino-lpc176x @ 0.1.3'

Are you using the latest Marlin code base? There were changes that needed to be done regarding PIO core 5 which only allows package installation from the trusted PlatformIO repository.

Also see thread at Marlin: Help me ERRROR ModuleNotFoundError - #11 by maxgerhardt.