Create viewlocks.py