Circuit description
WARNING: This page is about a different car, the 2018 Subaru BRZ. However, it is still accessible from the selected car via links, so may be relevant.
If the driver's door lock function does not work but the entry unlock function works properly, the communication between the vehicle and the electrical key transmitter SUB-ASSY is normal. In this case, the problem might be caused by a defect in the lock sensor circuit between the collation ECM (smart key ECM ASSY) and the front door outer handle ASSY (driver's side electrical key antenna).