private static LockedArtifact from(ResolvedArtifact resolvedArtifact) {
            return new LockedArtifact(resolvedArtifact.getCoordinates(), resolvedArtifact.getShaSum());
        }
Saves lockfile to current working directory.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/LockFile.java