Clock in and and Clock out and phrases like, "I'm off the clock" and "I'm on the clock" related to working.
Being on the clock, means that you're currently being paid to do your job. And being off the clock, means that you're no longer being paid to do your job.
So lets say you're trying to leave to day, and your boss or customer ask you to do something that relates to your job, but you're going home for the day, "Sorry buddy, but I'm off the clock." Means something very similar to, "I'm not working right now." or "I won't be working right now."
Clocking in and out, also relates to working.
Clocking in, means that you're getting started with your working day, and or you're getting your hours that you are working registered with the company so they can fairly compensate you for your work.
Clocking out, means roughly the opposite. It means that you're getting ready to leave from your work, and or are registering with company that you are no longer working.