Perform a Factory Reset on your Samsung Galaxy A5 if it is screen locked or experiencing OS issues:
Press the Volume Up or Down button to navigate and the Power button for selection.
If you are prompted with a "Delete SD card contents" option, press Volume Down to navigate away from it.
Enter your pincode to see if Cash on Delivery is available in your area.