How to design a prosthestic cover that fits and gets fixed in a leg prothesis (like a otto bock)?

how to design a cover that can be really attached to a prothesis and used with no problems?
(fixation issues)