It's called a stop and account.
It's within UK legislation that an officer can ask you questions. However, you're not required to answer them or remain with them. However, it is suggested you do this as refusal can lead to detainment under other legislative powers, such as Schedule 7 of the...