This leg-lock is applied when you have you oppone tin half guard.
Take your left foot over your opponents right leg and place it on the back of their knee as shown.
Now take your right foot over your opponents right leg and place it on their ankle.
Use your left foot to push your opponents leg up to get their ankle behind your right knee. Now pull your right foot in to apply the lock.