Option to active auto Hide Dock and menubar

i can hide dock via keyboard command but would be nice if there is specific option