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