Hi Rashmeet,
Yes, the use case works OOTB.
What you need to do is make sure that the global user locked attribute is mapped to an user store attribute. You can check this in an export of your provisioning directory.xml file.
If you are still having trouble with this, raise a case and we can take a look. You can ask to have it assigned to me if you wish.
Kind Regards,
Marline