Pretty sure Android has the same feature as well - might be called something other than “do not disturb”
ADDED: