HelloMD,
Ranger doesn't lock the account, it is AD/LDAP setting to manage.
Basically, you need to check with the AD Admin regarding this policy management.
When you give an incorrect password the BadPwdCnt parameter in AD Account Attribute will increase and the account will not lock till it reaches the Account Locked Threshold.
Hope it helps!
Thanks
Mayank Gupta