Excluding multi-days tours and activities, luggage is normally not allowed along due to limited space. It’s recommended you check with your hotel or hostel. Typically, they will keep your luggage for the duration of your check-out date.
You can also check with the local tourist information office as often there are luggage storage services available in the city center or at the train and bus stations.