[SSSD] [sssd PR#5830][+Waiting for review] Tests: Port the old ns_account_lock.sh script to pytest