I was replying to Mark, who posted code in the private area:
$InsertQuery->bindColumn("lock", "i", "1", "WA_DEFAULT");
That was his issue...
I can't guess yours without more information. Maybe attach a copy of the page you are working on for reference.
It is usually best to start your own new thread with new issues since yours is probably not related to this one and can be confusing to read and work with (as my previous post proves)