A prosthetic device, method for planning bone removal, and a robotic system for implantation of a prosthetic device in bone are disclosed. The prosthetic device can include a body portion for attachment to a bone, wherein the body portion includes an implantation surface configured to face the bone upon implantation, and a constraint structure. The prosthetic device, method, and robotic system can be configured to cause the constraint structure and bone to interact so as to constrain the prosthetic device in the bone.