Hide phone keyboard

Is it possible to hide the phone keyboard when a button is pressed running a procedure that will take 10 seconds or so ?

component_method