Added python script for video with lock