If the money is from an inheritance, the bank may request documentation proving its source, such as a certificate of inheritance or estate distribution documents, depending on the transaction amount and its circumstances.
Keep any documents linking the money to the inheritance, and if the amount is large, ask the bank exactly what documentation is required before depositing it to avoid delays.