Certain mobile phones such as Huawei and Xiaomi have built-in cloud synchronization services. When a photo or video is added to Locked, the source file gets automatically deleted. However, if cloud services are active with auto-synchronization enabled, they are recovered from the cloud. After adding photos or videos to the Locked, visit your system album and wait for a few seconds. If the files are restored, delete them manually.