Man charged with two felonies after standoff