For the parking brake I used two aluminium pipes which fit into each other.
The two pipes are connected at the end with a spring and I cut a kinda U shaped slot into the outer one.
Together with a switch we got a parking brake:
I printed two pieces to mount it under the switch panel in the cockpit: