I cite from Islam Q&A
It was reported from Abu Hurayrah that the Prophet (peace and blessings of Allah be upon him) said: “Towards the end of time, hardly any dreams that the Muslim sees will not come true. The one whose dreams are the most truthful will be the one whose speech is the most honest. The dreams of the Muslim form one of the forty-five parts of Prophecy. Dreams are of three types: the good dream which is good news from Allah; dreams which cause distress, which come from the Shaytaan; and dreams concerning matters which a person is thinking about…” (Narrated by Muslim, 2263)
It was reported that Abu Qutaadah said: “The Prophet (peace and blessings of Allah be upon him) said: ‘Good dreams come from Allah and bad dreams come from the Shaytaan. If any one of you sees a bad dream which makes him afraid, let him spit drily to his left and seek refuge with Allah from its evil, then it will not harm him.” (Narrated by al-Bukhaari, 3118; Muslim, 2261).
So I had one of the most horrific dreams, which included blood, gore and violence that I never think about. I'm doing research during summer, very far away from the things I dreamt and I never recall any dreams like that, not even similar. If the above two hadith are authentic, then my dream must come from shaytaan.
However, according to this hadith, shaytaans are locked up during Ramadan.
Narrated Abu Huraira: Allah's Apostle said, "When the month of Ramadan starts, the gates of the heaven are opened and the gates of Hell are closed and the devils are chained. -" Sahih Bukhari 31:123
So how do you explain this? One or both of the hadith are not true? Or something else?