Locked doors thwart attempted robbery at credit union