Crypto-hieroglyphic writing is a real thing: https://www.britannica.com/topic/hieroglyphic-writing/Crypto...
Such writing would give non-standard meanings to signs, or drawn them in non-standard ways, or use entirely invented signs. It would be a puzzle to work out the meaning, and I imagine most people who weren't very literate would be stumped. They certainly stumped egyptologists for a while when the first examples were discovered.