(/=) Cleaner lock interface

Remove dependency of update/insert/delete prepared statements on
WriteLock. They work with any type of lock.