Revert "set lock to false to force re-sync if db.Object is used again"

This reverts commit 5272e10d0218ee218920594ff08b52df3599f0ba.
accept final throw as return (closes #1923)
Merge branch 'php-mysql' into development
add cache_field to objects after insert
Merge branch 'sys.db' into development