The special moment featured the women talking about how music has affected their lives and the world for the better.
"Music has always been the one place where can feel truly free," Lopez said.
"Music has always helped me tell my story," Obama said. "Music helps us share ourselves."
"Who runs the world?" Keys asked to wrap things up.
The moment was followed up by Shawn Mendes taking the stage at the Grammys for the first time for a special performance of his song "In My Blood" which featured a surprise appearance by Miley Cyrus.
Read MoreMaren Morris was shocked by her 5 Grammy nominations Grammys 2019: How to watch Camila Cabello says Grammys performance will have 'surprises'
BTS, Alicia Keys walk the Grammy red carpet