Regardless of if you have something you need to be doing or not, LOOK FOCUSED.
As other comment said, walk like you’re on a mission… You can accomplish this by looking FOCUSED.
Sitting at a table and have nothing to do? Stare at something with a very focused look. You will look like you’re thinking about something important that requires thinking time.