there are pins which use a ball in them as a safety catch
larger ones can be operated by pushing a button,
that releases the force pushing the ball out, allowing the pin be removed
Quickie wheel chair hubs use that same principle
https://www.quickie-wheelchairs.com/
so you will be, literally, re inventing the wheel..
...