The expression "at times" is synonymous to the adverb "sometimes". However, it feels more like isolated incidents when a speaker says, "at times".
When used to specify the type of times, it is more common to say, "in times of ____".
For example,
"She only calls me in times of need."
"They struggled in times of war."
"We should help one another in times of economic crisis."