Warwickshire will take on Lancashire in the County Championship 2022 Division One match at the Edgbaston, Birmingham, starting from June 12.