when i hold drivers key in deadlock position to activate closure feature the windows will all roll up one after the other, but the sunroof no longer closes.

can anyone point me in the right direction on where to look for a fault? the cure?