I'm sorry that I forgot to add that I have read the rules here.
I still don't understand how to lock my Cockpit.
I have "equiped" my key in my right hand, but the only options offered are drop, stow, create code.
I have created a code.
So, how do I use my key to create a lock on my cockpit door?