Our teacher, the Beit Yosef, wrote: On the night of Shabbat, one must place something to intervene between the candles and the entrance, because of the wind, so that it does not extinguish the candles when he opens the door. Thus far his words. And this was for them, as they would kindle at the entrance of the house facing the courtyard, and there is wind there. But for us, who kindle in the inner rooms—we have no concern with it. And one should not ask: that if there is a concern that the wind will extinguish the candles, if so, even on a weekday he should not fulfill the obligation, since it is not fit to burn for the required duration? For it can be said: that in truth it is not certain that it will be extinguished. Furthermore: that when the door is closed—it is simple that it will not be extinguished. Rather, because of the prohibition of Shabbat which is stringent, one must be concerned even in such a case. And the details of these laws were explained in siman 277, see there.
כתב רבינו הבית יוסף: בליל שבת צריך ליתן שום דבר לחוץ בין הנרות לפתח, בשביל הרוח שלא יכבה הנרות כשפותח הדלת. עד כאן לשונו. וזהו אצלם, שהיו מדליקין על פתח הבית שלצד החצר, ויש שם רוח. אבל אצלינו, שמדליקין בחדרים הפנימים – לית לן בה. ואין לשאול: דאם יש חשש שהרוח יכבה הנרות, אם כן גם בחול לא יצא, כיון שאינו ראוי לידלק כשיעור? דיש לומר: דבאמת אינו וודאי שיכבה. ועוד: דכשתהיה הדלת סתומה – פשיטא שלא יכבה. אלא דמפני איסור שבת דחמיר, יש לחשוש גם בכי האי גוונא. ופרטי דינים אלו נתבארו בסימן רעז, עיין שם.