A man arrested as he apparently tried to help a vulnerable family member during lockdown was threatened with pepper spray by a police officer.