Retirement tax questions

Usually does W-4 work for state and city taxes? Thanks~