I could tell you, but instead, I'll tell you how to figure it out yourself, which will lead you to the path of becoming a better programmer.
In the template, I have two procedures for these tasks, one being PlayerControl, and one ProgramControl. They enable/disable player input, and enable/disable player movement. So, if you want to know how to do disable one, but not disable the other for example, all you need to do, is go into my main.sc script in the template, scroll to the two procedures, and see what they do. There you will find your answer.
(procedure public (ProgramControl)
...<magic revelation!>
...
)
(procedure public (PlayerControl)
...<magic revelation!>
...
)
*hint* is has to do with the User class.
Feel free to continue asking questions of course, but knowing how to figure these things out on your own make the possibilites of you game endless. You can tweak out SCI to do stuff no one else has done yet!