Following the recommendation in the c-analyzer traceback:
Python/lock.c - TIME_TO_BE_FAIR_NS not supported (typespec (unknown))
[...]
If the tool reports an unsupported global variable and
it is actually const (and thus supported) then first try
fixing the declaration appropriately in the code. If that
doesn't work then add the variable to the "should be const"
section of Tools/c-analyzer/cpython/ignored.tsv.
Not sure how to fix the declaration appropriately, so adding it to
the ignore list for now. It is declared as const.