Looking for a custom OR gate actor

I'm looking for a custom OR Gate actor that can lock after an input triggers it, and then it waits for a reset trigger. I drew some thoughts on how it should look, I would write the actor code but I'm still at C 101 level and it's slow going.

i know nothing about coding custom actors, but i made something out of existing actors that kind of does what you want. its for a set number of inputs though. and i guess it depends on how quickly the values are received.