If it’s locked the OP may not be able to use the command prompt.
The OP may need to take it to a shop to have the password reset.