Please let me know which user and in which client you want to unlock?
You can logon to the system like this-
User name: idadmin
Then after logon to the system reset the password of those users you want using SU01 tcode.
If you can't do this also then I will tell you how to reset sap* user's password.
If all the users are locked then, login to Database access the table USR02 and delete the entry of SAP* of specific Client and then logn to SAP to that particular client by using password pass.
if only one user is locked then log on the Other user or SAP* with the specific password and unlock the login user ID.
Please provide which user got locked. If u dont have any other admin user is created already , you can reset through DB.
If u have any user with full authorizations, by T-code SU01 u can reset the password or unlock it.
If u dont have any user ready , then u can reset by DB comments as below. ( assuming Oracle below follows)
login to SQL:
1.select mandt,bname from SAP<SCHEMAID>.USR02 where mandt=000 and bname ='SAP*';(just for checking)
->delete from SAP<SCHEMAID>.USR02 where mandt=000 and bname='SAP'; ( it will unlock the sap)
2. select mandt,bname from SAP<SCHEMAID>.USR02 where mandt=000 and bname ='DDIC';
-> ->delete from SAP<SCHEMAID>.USR02 where mandt=000 and bname='DDIC*'; ( it will unlock the DDIC)
After this try to login with SAP* and DDIC with the passwords which you are given during the installation, if you get the result as name/password is incorrect then you user pass for SAP* and 19920706 for DDIC( only in case if you get error).