Kind of like the (in)famous Denuvo
https://en.wikipedia.org/wiki/Denuvo
Which obviously can be cracked, but it takes a long time.