Block user input before state transiting

ARMS-239 #Done