[CI] Add poetry lock as task before rest of pipeline
This ensures the rest of the pipeline is run with the same versions, and the lock file is built out as a pipeline artifact.
This ensures the rest of the pipeline is run with the same versions, and the lock file is built out as a pipeline artifact.