Since p-core and e-core management falls under the hardware, Windows doesn't posses a direct way to manage them unless with an intermediary API from the CPU or Motherboard manufacturer that could allow that. Instead, Windows has a feature called Core Parking, which will allow to reduce power consumption if the computer load is low and single-core operations are prioritized.
You can enable this through registry change for each one of the Power Options related. In the next official article you will find the related options, and inside of each one you will find the registry Path, key, and values of reference.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–