I assume you have Samsung j2 and your phone is not locked
things required
otg cable
keyboard
Samsung j2
no lock gesture or pin
insert the keyboard with otg to j2 phone
and press numlock to unlock your scree and open settings anyhow take screen shot or
anyhow try to remove the lock, and...