Your gross monthly Social Security benefit amount will not be affected by your inheritance, but if your inheritance increases your Medicare Part B premium your net SS benefit will be temporarily lower.
Will Inheritance Money Affect My Social Security?
Ask Rusty - Social Security Matters 3-31-21