Door lock system

Okay so i followed the tutorial below on how to do a resident evil 7 style door system:

Now the problem i have is that i want one of the doors to be locked and can only be opened when you pickup a key. I have gone through multiple forums and tutorials trying to find a lock system which would work with my blueprint to no luck. My question is how can i implement a door lock system which will disable the doors input until i acquire a key?

In this place ► How To Do Resident Evil 7 Door Mechanics - Part 2 | #08 Unreal Engine 4 Tutorials - YouTube, between Closed and Rotate Door function, you should add test - have key or not. This should be branch. If key is true connect with Rotate Door function, if false - do nothing or Print String message “no key found”.

How to add key to player inventory is another question and explanation need tutorial, but you can start from simple inventory system from Epic https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gZalvQWYs8sc7RP_-8eSr3i/
This sample project you can install from your Learn tab in Epic Launcher.

I followed your advice and it worked!!! after getting the key into my inventory i added a branch to the manage door custom event which fixed my problem, thank you :slight_smile: