Hi Omar6476005,
It sounds like you're having some trouble entering your passcode. Let's work together to get this solved.
First thing we should try, let's restart your iPhone since it is freezing up while entering the passcode.
Follow the steps here to restart:
Restart your iPhone, iPad, or iPod touch - Apple Support
Try entering your passcode again. If it continues to not work or exhibit the same trouble, you'll need to follow the steps surrounding a forgotten passcode.
Try to follow the steps at this article to see if you can at least get the iPhone working again:
If you forgot the passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
Thanks for using Apple Support Communities.
It sounds like you're having some trouble entering your passcode. Let's work together to get this solved.
First thing we should try, let's restart your iPhone since it is freezing up while entering the passcode.
Follow the steps here to restart:
Restart your iPhone, iPad, or iPod touch - Apple Support
Try entering your passcode again. If it continues to not work or exhibit the same trouble, you'll need to follow the steps surrounding a forgotten passcode.
Try to follow the steps at this article to see if you can at least get the iPhone working again:
If you forgot the passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
Thanks for using Apple Support Communities.