The pattern alternates between horizontal and vertical lines, with the number of lines and their position rotating across the square corners and edges in a consistent cycle. The next figure continues the cycle with three horizontal lines placed at bottom-middle, matching the established progression.
The next figure is


