If your LG K40 has been locked and you cannot go past its FRP, then you should follow the instructions in this post. All the info posted below should be applied by advanced users.
If you want to easily remove the FRP and bypass it for your LG K40, then you should use one of the applications listed below: