Do locking and unlocking within handle_get and handle_destroy.