Household insurance typically covers the cost of replacing the key itself but not the entire locking system. Liability insurance can cover both, depending on the policy.
Insurance policies distinguish between personal keys (e.g., your apartment key) and keys belonging to others (e.g., communal or work keys). Losing a key that doesn’t belong to you can be more costly, so comprehensive coverage is essential.