Detect if an Active Directory user account is locked using LDAP in Python Detect if an Active Directory user account is locked using LDAP in Python python python