How to add validation to packaged EXE programs

I need to add verification to the packaged EXE program, such as passwords, but I don’t know how to do it,
I thought about modifying it in the UE source code, but I gave up because the source code was too complex. Can you tell me some ideas?
His effect is similar to the following image:
20200924161011641.gif (866×543) (csdnimg.cn)