The Barina/Corsa does actually lock itself after 30 seconds if no doors have been opened. For example; if you go out and unlock your car and realise you've left something inside the house and go back and get it, you will come back and the car will have locked itself. But it seems yours has locked itself even though a door has been opened, may have something to do with the TCU you installed.
Mat