You are on the right route.
If I do that, I lose the purple key and access to its room?
No
After that, first pull out the purple key, and then the red one.
Ok thank you! I tried ( a lot ) with the new red ...