The lock code prevents unauthorized access to your system after the machine has been powered up and/or has entered sleep mode.
When the machine is initially set up you can assign a lock code.