If you know your Apple ID/Password, then you should not be locked out. And, you should be able to sign in here: Apple ID: Your Account for Everything Apple https://appleid.apple.com/#!&page=signin Having done so you can reset your security questions or be rid of them by setting up two-factory authentication.
But see:
If you forgot your Apple ID https://support.apple.com/en-us/HT201354
If you forgot your Apple ID password https://support.apple.com/en-us/HT201487
You also can use Having trouble signing in/iForgot
https://iforgot.apple.com/password/verify/appleid to identify either or both
Go here if you need additional support Apple telephone support https://getsupport.apple.com/?caller=kbase&PGF=PGF63005&category_id=SC0245&symptom_id=23362
For worldwide Apple ID support go here https://support.apple.com/en-us/HT204169
You may also want to see:
See If you forgot the answers to your Apple ID security questions https://support.apple.com/en-us/HT201485
________
On the other hand, maybe you are seeing activation lock. If so, then post back.