[SSSD] [sssd PR#5830][opened] Tests: Port the old ns_account_lock.sh script to pytest