Hyundai Repair Questions? Ask a Mechanic for Answers ASAP
It sounds like one of the door switches that tells the control module when the doors are open or closed is at fault. It suggest to me that the module is registering a door open and so it prevents it from locking completely.
If you have access to a Diagnostic Tool with Live Data you may be able to check the operation of the door switches through this.
No problem at all. It may be worth putting some lubrication in the boot catch in that case. Something like soem WD40 to clean and lubricate the lock / switch assy.