pdm-build-locked is a pdm plugin to add locked packages as additional optional dependency groups to the distribution metadata.