The problem is that one can change Apple ID password knowing only the pincode. No old password asked. This gives thief a full control of Apple ID
Settings -> Apple ID (top panel with name) -> Password&security -> Change password
Settings -> Apple ID (top panel with name) -> Password&security -> Change password