In the newly released 2.25.0 version, PDM has added experimental support for PEP 751 pylock.toml file as the primary lock format. Now you can rebuild a PDM project from any tool-generated pylock.toml.
It is still opt-in; you just need to run `pdm config lock.format pylock`.