You can turn a video into your lock screen using a third-party app like VideoWall. Once it's installed, select Choose Video, give the app permission to access your media files, choose the video you want to use, edit it, and select Set Wallpaper.