Behavior
ImplementationChangeAssertion registers a transaction-end check. It reads slot 0 at _preTx() and _postTx() with ph.loadStateAt, then requires the decoded addresses to match.
Configuration
ReplaceIMPLEMENTATION_SLOT with the slot used by the deployed proxy. Slot 0 is a teaching layout; it is not the ERC-1967 implementation slot. Attach the assertion to the proxy whose storage contains that slot.
The example has no constructor arguments and no approved-upgrader exception. A legitimate upgrade also fails while this lock is active. Coordinate a policy change through your deployment process before the upgrade.

