Lucrezia was the wife of Count Gian Piero Landriani, a courtier at the ducal court and a close friend of Galeazzo Maria Sforza, son of Francesco Sforza, Duke of Milan and Bianca Maria Visconti, Duchess of Milan. Galeazzo Maria would become Duke of Milan upon the death of his father on 8 March 1466. Lucrezia was born in Milan around 1440; nothing further, however, is known of her early years, or her parentage. A contemporary portrait of Lucrezia painted by Domenico Veneziano, shows her to have been quite beautiful, with blonde hair, blue eyes, a high forehead, and fine features. She bore her husband Gian Piero two children and undertook their guidance and education, a son, Piero Landriani, who later became castellan of the fortress of Forlimpopoli; and a daughter, Bianca Landriani, who married Tommaso Feo, castellan of Ravaldino Castle and the brother-in-law of Caterina Sforza. Around 1450 she married Cristoforo Lampugnani, son of Lucrezia Visconti and Giovanni Andrea Lampugnani. , Duke of Milan, the father of Lucrezia's children Lucrezia became Galeazzo Maria's mistress sometime around 1460, when he was sixteen years of age, and she bore him at least four children:
Carlo Sforza, Count of Magenta, married Bianca Simonetta, by whom he had two daughters, Angela Sforza, and Ippolita Sforza. The latter married Alessandro Bentivoglio by whom she had issue, including a daughter Violante, who became the wife of condottieroGiovanni Paolo I Sforza, an illegitimate son of Ludovico il Moro Sforza by Lucrezia Crivelli.
Caterina Sforza, Lady of Imola, Countess of Forli, married three times.
Alessandro Sforza, Lord of Francavilla, married Barbara dei Conti Balbiani di Valchiavenna, by whom he had a daughter, Camilla.
Chiara Sforza, married firstly, Pietro, Count dal Verme di Sanguinetto, Lord of Vigevano, and secondly, Fregosino Fregoso, Lord of Novi, by whom she had issue.
Lucrezia's children were legitimised and raised at the ducal court, alongside Galeazzo's legitimate children by his second wife Bona of Savoy. They were, however, entrusted into the care of their paternal grandmother, Bianca Maria Visconti. The most gifted, and remarkable child of Galeazzo and Lucrezia was Caterina, who was instructed in the arts of diplomacy and warfare by her grandmother. These were necessary skills in the political ambience of 15th century Italy, which was marked by intrigue, treachery, assassinations, and continuous strife, caused by the intense rivalry of the city-states and their rulers. On 26 December 1476, Galeazzo Maria Sforza was stabbed to death inside the church of San Stefano in Milan. His only legitimate son by Bona of Savoy, Gian Galeazzo Sforza, succeeded him as Duke of Milan. Lucrezia Landriani died on an unknown date.