fix: reset form button not resetting lock

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>