Watson221:
When I use the radio code without any of the password code it works fine, even without me declaring pin 10 as an output.
In that case I suspect that nothing was pulling pin 10 LOW. But it is quite impractical to use pin 10 as an INPUT if it can never be pulled LOW. Setting the pin to OUTPUT avoids all problems.
...R