if its a 4 door focus then holding the unlock button will roll down all the windows, as well as holding the lock will roll them up.
perhaps you leant on the button, they rolled down and then the alarm reset as you hadnt opened a door etc within the preset time?