Hi rugheva,
Thanks for using the Apple Support Communities. I'm a bit unclear on exactly what you are describing, but if you are talking about the Find My Mac passcode lock option, you may find the information and troubleshooting steps outlined in the following article helpful:
Once you locate your Mac, you can unlock it by entering your passcode on the lock screen.
Here's how to see the passcode that you used to lock your Mac:
- Sign in to icloud.com/find on a Mac or PC.
- Select your Mac from the Devices menu.
- Select Unlock. After you follow the onscreen steps to verify your identity, you'll see the passcode that you need to unlock your Mac.
If you forget your passcode or can't verify your identity to see it, you need to take your Mac to an Apple Authorized Service Provider along with your proof of purchase.
If your Mac is lost or stolen - Apple Support
Regards.