Hello there you can set the 3CX Phone if you go to Settings >> Configure accounts >> Edit your account >> Advanced >> Auto change status when idle and then from the Management console you need to change in the extension >> Office Hours Scheduling >> tick the option Log out from Queues when not available(Away/Out of office)