Yes. The landlord must have access to the house or apartment. You cannot legally deny access, and running off with the key does just that.
Update: During that month after you left, the landlord had legal access to the dwelling. To make an inspection, to make repairs, to show the place to prospective tenants. With no keys, it was necessary to change the locks. You are responsible.