No, the landlord cannot include the last month's rent as part of the security deposit in Maryland. The maximum amount the landlord can charge for a security deposit is two month's rent.