Update gridview.py

add unlock screen func