def METHOD_NAME(term, lock, start_row, num_lines):
    with lock:
        for row in range(start_row, start_row + num_lines):
            term.location(0, row)
            print(ERASELINE,  flush=True, end='')