You can add a pin code. It’s just a layout with triggers.
You send a trigger with data and if you entered it correctly, you send the trigger to the client.
it would be better if you implemented the Triggers like exports, and using a function callback as a result instead of a event trigger. for example like mythic_progbar
using event trigger for result will just make things more complicated to work with.