Implemented acquire_read_lock and acquire_write_lock for transaction #94