Push the power button while on camera and lock will disappear letting you take pictures.
Hi serina. The camera shouldn't have any lock unless you used an app to lock it. If you forgot the password, you need to turn off that app or uninstall it to remove password and unlock the camera.