Update #43 Add lock for CRUD ORM (not yet tested)