A euphemistic way of referring to taboo sex (outside of marriage, adultery, homosexuality, sodomy, etc.), this phrase is often used as a false etymology for the word "fuck"
Also, Van Halen's 1991 album
I remember coming home and getting slapped by my dad for unlawful carnal knowledge, apparently he found out my "roomate" and I were actually dating