Despite that Satan has powers of his own he could not prevent God from writing the ten commandments on Mount Sinai. That's not just him but any power in the world couldn't have prevented God from from doing this or anything else for that matter. Only God has the power.