Answered by: Shaykh Ahmed Bin Mohamed Umarji
I have a female servant in my home when my parents go away. If I stay in my room and do not come out of it and my door is closed and I study then is it permissible for me to stay there or not or is it still khalwa?
In the name of Allah, the Most Gracious, the Most Merciful
Since you are in a separate room it will not be considered khalwa since there is an adequate barrier between you and the maid.
Only Allah knows best
Written by Shaykh Ahmed Bin Mohamed Umarji
Checked and approved by Mufti Mohammed Tosir Miah
Darul Ifta Birmingham
 أنَّ الخَلْوَةَ المُحَرَّمَةَ تَنْتَفِي بِالحائِلِ – رد المحتار على الدر المختار – مجلد:6 صفحة: 368 – دار الفكر-بيروت