Do you know any Lua programming? If not, then you'll have to learn. If you do know some Lua then we can point you in the right direction for what functions and code blocks you're going to need. We're happy to help you along, but don't expect to be spoon-fed a bunch of working code.
What you're looking for is a generic password lock that constantly checks for a redstone input from a specific side.
Here's an example of the 'read()' function:
local input = read()
if input == "hello" then
print("Hello to you too!")
end
The 'read()' function waits for user keyboard input and then puts it all in a string, returning it to the 'input' variable, which you can check with if statements, as shown above.
Here's an example of checking a side for redstone input:
--# Sides are 'left','right','top','bottom'
local isLeftOn = rs.getInput("left")
print(isLeftOn) --# Either True or False
If 'isLeftOn' is true, it means that any redstone touching the left side of the computer is glowing/on. If it's false, it's not on.
Here's an example of sending a rednet message:
rednet.open("top") --# Remember to open your modem first
rednet.send(id,"It's ON!")
Easy. ID refers to the computer-you-want-to-send-the-message-to's ID.
Here's an example of a loop (needed to constantly check for redstone input or the 'read' function):
local running = true
while running do
print("I'm still running!")
sleep(1)
end
This will print 'I'm still running!' every second on the screen, forever. If you get stuck here, use the keyboard combo 'Ctrl + T' to terminate the program.
If you combine all these you can make the program you want. If you get stuck with Lua syntax you can always Google it (I always do, most of the time I figure out the syntax or error quickly), and if you don't find the answer you can ask here or in the 'Ask a Pro' subforum.
There are MANY examples of password locks all over the forums and elsewhere, so finding a simple one shouldn't be too hard! Good luck!