Maybe you could create some kind of while loop who keeps checking if a user enters something and that breaks after 10 seconds and displays an error.
while current_time < error_time #error_time being your first time plus 10 seconds.
if user_input :
do_something
else:
current_time = time.ctime(time.time()) #update current time
display_error() #after the while loop breaks so after 10 seconds have passed display an error. this is just an example I hope it helps. The python time module should be helpful.
Just don't use sleep(10) cause then you would not be able to get any user input.
I'm not familiar with Tinker so I don't know in detail how to implement this but I hope it helps or gives you an idea.