If your iPhone is ghost touching keys and apps, We recommend you remove your passcode until you get your device repaired, because while it is locked, it will keep typing your passcode until your phone is disabled. Unfortunately if that happens, you will have to erase everything on your device to access it again.