"Locked Out of Heaven" is a song by American singer-songwriter Bruno Mars from his second studio album, Unorthodox Jukebox (2012). It was released as the lead single from the album on October 1, 2012. The song was written by Mars, Philip Lawrence and Ari Levine of The Smeezingtons, and produced by Mark Ronson, Jeff Bhasker, Emile Haynie and The Smeezingtons. "Locked Out of Heaven" contains influences of new wave, funk and reggae rock. The song's lyrics are about the rapturous feelings brought about by a relationship infused with positive emotion as well as euphoria from sex. "Locked Out of Heaven" was well received by most critics, some of whom complimented Mars' different musical direction, his vocals were praised, being called "smooth" and "sweet," while its sound was lauded, with the song being called "interesting" and a "musical evolution". While some critics noted influences from various bands, mainly The Police, Mars stated that The Police influenced him to write the song. The single charted inside the top ten in over twenty countries, including the United States, where it became Mars' third number one single on the Billboard Hot 100, where it spent six consecutive weeks and topped the Canadian Hot 100 for three consecutive weeks. "Locked Out of Heaven" was certified quadruple platinum by the Recording Industry Association of America (RIAA).