A surgical instrument includes a body, a shaft assembly, a stapling head assembly, an anvil, an anvil adjustment assembly, a trigger, and a lockout assembly. The stapling head assembly is operable to drive an annular array of staples. The anvil is configured to couple with the stapling head assembly. The anvil adjustment assembly includes a translating member, which translates relative to the body to thereby adjust the longitudinal position of the anvil relative to the stapling head assembly. The trigger is operable to actuate the stapling head assembly to thereby drive the annular array of staples through a distal surface of the stapling head assembly toward the anvil. The lockout assembly includes an electrically powered braking feature. In a first state, the lockout assembly is configured to permit translation of the translating member. In a second state, the lockout assembly is configured to prevent translation of the translating member.