Coding Help for Alarm System

I'm trying to make an alarm system using sensors and speakers. The idea is that my sensor detects movement, then it sounds off until the correct password is inputted in the computer. Does anyone know how to code this? Thanks.

Does anyone know how to code this?

Yes.

weoren:
Does anyone know how to code this?

Divide the problem into small parts and tackle them separately. For example, given the Arduino software and an Arduino-compatible microcontroller, you ought to be able to follow the instructions to run the standard examples. Then you can look at the source to see how they work, and gradually learn how to do the things you want to do.