While on the schematic canvas, right-click on the module component and select Blackbox Module.
For more information on blackboxing, see Blackboxing Modules.