Two independent commits.
BIP370: add an Input Finalizer section
In a version 2 PSBT, the fields that define an input live in the input map: PSBT_IN_PREVIOUS_TXID, PSBT_IN_OUTPUT_INDEX, PSBT_IN_SEQUENCE, and the two required-locktime fields.
BIP174 tells the Input Finalizer to clear every field of a finalized input except the UTXO and unknown fields. Followed literally on a version 2 input, this deletes the fields above. Without PSBT_IN_PREVIOUS_TXID or PSBT_IN_OUTPUT_INDEX the PSBT is invalid; without the sequence and locktime fields the Transaction Extractor builds a different transaction.
BIP370 defines every other role for version 2 but has no Input Finalizer section. This adds one, stating that the finalizer keeps those five fields. Bitcoin Core already does this: its input serializer writes them whether or not the input is finalized.
BIP371: remove a finalizer clause from an output field
PSBT_OUT_TAP_BIP32_DERIVATION carries the note "Finalizers should remove this field after PSBT_IN_FINAL_SCRIPTWITNESS is constructed".
This is an output field. An output has no PSBT_IN_FINAL_SCRIPTWITNESS, and the clause names no input to act on. The two neighbouring output fields carry no such note. This removes it.
Both are minor amendments to Deployed BIPs.