UNCOGN I use a GrapheneOS GSI in my device because it aren't suported by grapheneOS
Assuming you are running RestlessOS you should hopefully be aware that this is nowhere near as secure as actual GrapheneOS. RestlessOS is not GrapheneOS. Since its a GSI ROM, I believe you must keep your bootloader unlocked, which is highly insecure. Just want to make sure you are aware of this. Now to answer your question...
UNCOGN There is a repo that i can include in my source? or something like that?
No. You can't just include a GrapheneOS repo or anything in your source build. The Duress PIN is deeply integrated into the Android system by GrapheneOS. Its not just a plug and play feature with other OSes. Integrating it would require extensive Android building knowledge, and you'd likely have to build and provide your own security updates. This isn't practical or easy to do.
Once again if you want a real secure device, I strongly recommend using real GrapheneOS, Because RestlessOS isn't GrapheneOS, and LineageOS also isn't as secure as an OS.
Note I don't speak for GrapheneOS