Get extant locks for the given account.

def list_locks(self, account_id=None):
        """Get extant locks for the given account.
        """
        account_id = self.get_account_id(account_id)
        return self.http.get(
            "%s/%s/locks" % (self.endpoint, account_id),
            auth=self.get_api_auth())