erm Am I missing something here?
Of course there many tricks you can do to stop spanning tree shutting your network for reconvergence including port security, bpduguard, rapid per vlan spanning tree etc but surely the easiest way is to have the ports set as either disabled or access ports...