This service or value is protected and the ECU is locked.
What the response looks like
Request: 2E F1 90 57 30 4C …
Response: 7F 2E 33
Writing the VIN while the ECU is locked. In a negative response, 7F is the negative response service ID, 2E is the service that was refused (WriteDataByIdentifier), and 33 is this code.
When ECUs send it
The service or this particular DID or routine is protected, and the ECU is locked.
Security access was granted earlier but was lost: the session changed, the ECU reset, or the session timed out without TesterPresent.
What to try
Unlock with SecurityAccess (0x27) at the right level first.