What make and model of laptop? And what exactly is the problem? Are you trying to set a security code or is one already set and you can't access it or what? Are you talking about a boot-time password, a logon password, a wireless network password, or what?
A few details can be immensely helpful when trying to solve problems.