Contemporary? Romance, with a secret code based on the Lord's Prayer in old Scottish dialect.
It might be Nora Roberts, Julie Garwood, someone in that general writing flavor?
Basically there's a person or group of people looking for A Thing, and a female love interest who helps out at some point. She knows a secret cipher/code that she learned from her father, and it's necessary to the search. She refuses to tell the male love interest the code so she won't end up left out of the adventure. At the end, she reveals the code to be based on an old Scottish-tinged version of the Lord's Prayer that starts out like, "Uor Fader quhilk i heven beest" though i may be misspelling that from how it appeared in the text. Pretty sure they're snuggling in a bed when she starts to teach him the code.
Adult novel
Read it at least 10 years ago
I think contemporary because I vaguely feel like they had to do international travel to find the Thing but it wasn't a huge deal. Could have been Victorian though.
All the main characters were straight white people but there *might* have been a friend who was queer and/or POC.