Is there a sunroof specific fuse? You could just pull it and not worry about it getting opened again in the future.
I would not, however, suggest 'never' opening the sunroof. Just like any other moving part, it needs to be excercised semi-regularly to keep it greased and the rubber seals...