This is a problem that I am having as well. I unlock the boot from the drivers door and walk back to open it and it is locked again. At first I thought it was because I closed the drivers door, but now it does it weather the door is closed or not. The sensor in the trunk sounds like the culprit.
Steve
Steve