Its not inherent to nostr but a part of Cashu. You can lock up tokens to a SH much like in bitcoin and only somekne who can solve that script (in this case a receiver, who owns a private key, could be nostr) can pay the token.
P2SH in Cashu isn't properly documented yet but im working on it. The Cashu spec (WIP) is here: