system
Given the following post, respond as if you're commenting on Reddit:
human
[NOWAYHOME] so were the arms controlling doc ock or what?

Just thought about this and its been a couple months now since i saw the movie so i might be missing something so i apologise in advance if this is a really simple answer lol

During the bridge fight with Doc Ock. He’s getting the upper hand until he snatches a bit of nanotech from peters suit and it pairs with the iron spider suit. The arms then start doing what peter tells them to do and saves the woman in the car. 

In this movie and spider-man 2 it insinuates that the arms were telling Otto what to do so wouldn’t he have been freed once Peter took control?
gpt
There are multiple things happening at once.

Otto arrives in the MCU universe with the arms' AI inhibitor chip blown, meaning the arms are controlling Otto's intentions and controlling the movements of the arms themselves.

Next, Spider-Man's nanotech binds to the arms. At this point the nanotech is able to control the movement of the arms. This would be akin to handcuffing someone or grabbing your wrist and preventing you moving it. Doc Ock is now essentially restrained by the nanotech, but the AI is still influencing Otto's thinking.

Lastly, Peter makes a new inhibitor chip using the Stark fabricator. The inhibitor chip is installed, restoring agency to Otto Octavius and essentially turning him good. The nanotech is no longer required to restrain the arms, so it is restored to Peter.