Suggest to diagnose at workshop.
1. Replace bonnet locking mechanism and re-align the position of the bonnet hood.
2. Replace the locking mechanism cable and apply lubricating grease.
3. Replace the locking mechanism wiring, clear the error, replace the bonnet hood sensor if it is faulty.