Turn off phone without turning off entire device?Support

Is there a way to set my phone so that it sends all incoming calls directly to voicemail without ringing first? In other words, turn off the phone part without actually shutting down the entire device?