Can anyone out there help me?

I've been tasked with writing an application that runs on an NT workstation, but some of the things to be done must be done using the sendkeys option. I need to unlock the workstation first to be able to do this. Any Ideas??

TIA

Ell